xf_phantom
Well-known member
Wouldn't it be better to conciser something else as
?
E.g. save the time of the last addon installation / xenforo update?
The problem is, that the $jsVersion isn't updating after addon installations.
Because of this, addon with own js files are buggy, because they return the cached version, instead of the new one, without hard browser cache refresh
It's no problem to change it via the config, BUT i wouldn't think that's a good way for avarage joe users, to say that to change their config file after my addon installation
PHP:
self::$jsVersion = substr(md5(self::$versionId . $config->jsVersion), 0, 8);
E.g. save the time of the last addon installation / xenforo update?
The problem is, that the $jsVersion isn't updating after addon installations.
Because of this, addon with own js files are buggy, because they return the cached version, instead of the new one, without hard browser cache refresh
It's no problem to change it via the config, BUT i wouldn't think that's a good way for avarage joe users, to say that to change their config file after my addon installation