The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Safe to remove version numbers from .js?
Any ill effects from removing the version number from the javascripts?
Go to: Admin cp Styles & Templates > Open the box Search in templates Search for Text: .js?v={vb:raw vboptions.simpleversion} Replace with Text: .js Test Replacement Only (This will show you the results of doing this find/replace, without actually updating the templates) Tick NO Click find until it's done. I'd like others to test this out on a test skin/site and report any ill effects from it, thanks! It can help to prevent others from seeing version numbers to an extent and help with page loading. I've done this and this issue is resolved for pretty much all js that I've seen so far. Remove query strings from static resources |
#2
|
|||
|
|||
Since it is used for browser cache busting, I would just alter the SIMPLE_VERSION constant in 'class_core.php' to something less revealing. If you run multiple sites with different versions, I would not change the CONSTANT to the same name for obvious reasons.
|
#3
|
|||
|
|||
Yeah it's kinda too late for that with my skin, I told it to do it for only one but it did it for every skin . Would it break any js from working though?
|
#4
|
|||
|
|||
Quote:
It does not mean that some MOD out there is not using it for some odd reason, but I kind of doubt it. Most people are unaware what it is even for. --------------- Added 01 May 2014 at 15:45 --------------- This really will not hide the version number from too many people. Since they can view it in the JavaScript files. You would have to strip the version number from many of the JavaScript files. I am not sure if that would violate the licensing agreement with vBulletin. |
#5
|
||||
|
||||
Resources with a "?" in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:
Does this impact your servers? If not, why do you care? |
#6
|
|||
|
|||
Has it affected anything that you can see? If not then you answered your own question. If it works fine for you then it ain't broke. If it ain't broke it don't need fixed.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|