![]() |
Logician, I have to say it again - this is such a great idea! :) Absolutely minimal server overhead for a huge bandwidth saving! :) I use And such a simple concept, easily implemented, yet no one else thought of it. Pure genius.
|
Quote:
|
Quote:
Actually, this will just work for EVERY page that you output using vBulletin's doooutput function. That doesn't limit one to Webtemplates at all, most of my entire site is done using vB's dooutput function (and all of KFN 6 will be done using vB3's print_output() function), and as such this hack will apply to all those pages. :) works fine in vB3 as well btw, I just placed the code (with tiny changes) in vB3's print_output function in the proper place, works like a charm. Dunno yet if I'm gonna keep it though, unformatted source code might be 'more difficult for people to rip', but usually people don't rip sourcecode, they learn from sourcecode. Lack of proper indenting also looks unprofessional... |
One side effect - this hack does remove spaces in between images in the output as well. No big deal, but the buttons in the postbit are cramped next to each other. :)
|
Quote:
PHP Code:
Quote:
|
i noticed the buttons where all together and thought it was me
ok will fix with command above cheers |
This is great, I use to use this sort of thing to compress my html pages.
|
Excellent, though there seemed to be thousands of instances spanning thirteen styles/skins where I would need to replace relevant spaces with & nbsp;. So I decided to replay the backup functions file.
|
Logician, this is a great hack. However, i will not use it because i am too picky and html must look readable :p
i know there are many people that like to view the page source, i myself do. its just a habit by most coders to look at the page source. you also have to note that 1byte is extremely small, 1,000 bytes is just about 1KB. there really isn't much you'll be saving, as even a user on 56k would probably not even noticed a difference in 5,000 bytes. you might save a dollar or two by doing this, but a lot of page source viewers are gonna be like "what a crappy coder" lol ;):p seriously though, good thought. i am trying to focus my time in reducing vbulletin queries. that is what kills me. |
Quote:
PHP Code:
|
All times are GMT. The time now is 04:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|