![]() |
Quote:
It compresses the output given to any web request... not your source files... so your files via FTP are untouched, this only strips whitespace from what is returned to a web request. If you don't like this, then delete the lines you added. Not sure which guy couldn't back out and is toast... there's just nothing that can really go wrong, it doesn't touch your source files, your templates, nothing. The only scenario that might put you off is this: If your forum has people posting stuff within <pre> blocks (think the [code] bbcode) then where that depends on whitespace for formatting the whitespace is removed and formatting can be mucked up as a result. So if you're a technical forum where people post chunks of HTML in code tags, then you might think that this hack is not for you. However in all other cases this hack has no ill effect on your forum and does speed up rendering of the page on most browsers (I haven't viewed it in Opera, Safari or Lynx so I have no idea what it does for them, but IE and Firefox both seem to render faster with this hack in place), which is the point of it :) |
Quote:
You only added the stuff between and including the // HACK lines right? And then you deleted just those lines to uninstall right? If so then that process cannot cause what you have posted alone... you must have either left a $ in place or deleted too much from your code. Worst case scenario: download vb from the members part of vb.com and compare the original vb file with your one and restore the bit that you accidentally deleted or left in. |
I applied the lite version on one of my more busy forums 3.0.7 and WOWOWOWOW HUGE difference!, THANKS!!
|
The Wolfyman likes :D
|
Can/should this hack be used WITH the "Compress Forum Templates & Phrases" hack?
Do the hacks conflict? |
Quote:
The hacks do not conflict. I recommend Trigunflames hack as my hack will perform the whitespace stripping every page load, which attributes to server load. Trigunflames is a manual step, you click to compress your templates in your AdminCP... once done though, you don't need to do it again until the next time you edit a template. |
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=83248 But there is still the far superior one here that Trigunflame produced and that I helped with: https://vborg.vbsupport.ru/showthread.php?t=79923 That one is easy to get working in 3.5.x (view the end of the thread), and is superior because it only compresses once, rather than on every page request. |
Quote:
|
Quote:
The second could possibly be made a plugin, but it's really simple to install and instructions still valid... do you really need one? |
All times are GMT. The time now is 03:02 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:
|