![]() |
vBulletin has a build in option for using gzip compression, no need for a gzip.php or such.
Just go to your AdminCP -> vBulletin Settings and enable GZIP. This will (ZIP) compress the HTML page, then send it to the browser that will uncompress and display the page. This way you can save quite some bandwidth on your server, indeed. This adds some more loadon the server (depending on compression level) and not all browsers support it (in that case the compression in skipped). |
Hi Hellcat,
I think it does not compress the comments that are included in themes. For example, I have a comment like that, <!-- [START HACK='vB Pager' // vB Phrases and I can still see it in the code. Deleting those lines shall provide better compression. What u say ? Is there a way to decide what kind of comments should be removed ? To a way to change compression level ? I cant see it in the AdminCP options. Just 3 there. |
To make it compatibel with the AnyMedia BBCode the compressor ignores (leaves) HTML comments that contain a square bracket "[".
Removing those from comments will also get that comment removed from the final output. (Didn't find a better yet to determine if the comment is AnyMedia) The "//" comments can (and should) be removed as well, yes. I'll put that one into the next update :) |
well I guess from a bandwidth perspective this is potentially worthwhile, but not from a page load time standpoint....in my case anyway.
I am showing a 10-15% compression. However, my page load times go from ~.10-.14s with this disabled, and goes to ~.21-.25s with this hack enabled. Did anyone else notice this? Or is getting improved performance along with the compression? Good hack in any case, definately not trying to knock that |
Quote:
Thanu Sir..i got reply of my curiousness :) thnakx [high]* Zia still waiting for agressive compression :D[/high] |
[page compression: 32.33 k/36.59 k (11.64%)]
Page generated in 0.76232 seconds with 9 queries (2 queries for uncached templates) [Server Loads: 10.27 11.02 : 9.51] Uncached templates: page (1) Uncached templates: userfield_textbox (15) What does that mean? It's on my "page" template for my Extra Info |
The uncached templates come most likely from another extension, maybe that extra info thingy.
|
Excellent mod/plugin, good work.
|
A must have I say :D thanks for all your work.
|
Geezus Hellcat... you really rocked this one. Saving anywhere from low to high 30s @ http://forums.xedge.net
Thanks and keep up the good work! |
All times are GMT. The time now is 10:12 PM. |
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:
|