![]() |
Remove all (Template-)Comments from any HTML-Output
1 Attachment(s)
This small PlugIn will give you the option to remove all comments you put in your templates before the HTML-code gets spit out to the client's browser.
You can activate or deactivate this feature via AdminCP (vBulletin Settings -> General Settings) and even allow usergroups to view those comments anyway (like for Developer, Styler, Admins ect.) In addition you are able to activate the removal of blank Lines in the HTML-output, this makes the code more clean after removing the comments ;) Just import the product and adjust the settings the way you need it :cool: Don't forget to click INSTALL if you use this ;) Bugs: none found yet Planned feature: 1) remove //-Comments from JavaScript |
I'll definitenly install this when I get back to home. Thanks! :)
|
Oh, neat..
This is something I actually thought about yesterday. Thanks. |
While I understand that having a lower page size makes things load faster, what is the effect of using the coding to remove the comments? Like, does it add more server load? Do the disadvantages outweigh the advantages?
MGM out |
How does it effect to the board's loading and parsing performance? Positive or negative? Oops, same question as MGM's...
|
This way you can add more internal information to the code, by now there are often more information in the sourcecode than you think of.
Example: most modification add their code in templates like Code:
<!-- this is additional function for admins--> |
But again, is the advantages of removing the comments better than the disadvantage of having the code check every template and remove every comment line for line?
MGM out |
Quote:
|
1 Attachment(s)
Works perfect - thanks :)
Some people did not understand in your 3.5x release what it does .. Here a screenshot (including spelling mistakes :D) : |
Installed n working fine for RC3 :)..
|
All times are GMT. The time now is 03:19 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:
|