• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Valid value for "jsVersion" ?

RoldanLT

Well-known member
#1
I want to refresh all js on my user's browser cache by changing/adding this into my config:
Code:
$config['jsVersion'] - default: ''
What is the valid values here?
 

Chris D

XenForo developer
Staff member
#3
As well as changing it in debug mode as above, you can also use any text you like to modify the js cache buster in the config, e.g.

PHP:
$config['jsVersion'] = 'any string';
 

Chris D

XenForo developer
Staff member
#5
No.

The JS version in the Admin CP (mentioned by batpool) is concatenated onto the one in the config file. It's then converted to MD5 and cut down to 8 characters.

Therefore after upgrade the version string will change because we change the JS version in the Admin CP.