XF 1.4 Valid value for "jsVersion" ?

rdn

Well-known member
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?
 
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';
 
  • Like
Reactions: rdn
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.
 
  • Like
Reactions: rdn
Top Bottom