[Koha-bugs] [Bug 12904] Force browser to load new javascript files after upgrade
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 31 12:44:08 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12904
Fridolin SOMERS <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fridolin.somers at biblibre.co
| |m
--- Comment #79 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
> RewriteRule ^(.*)_(.*).js$ $1.js [R=301,N,L]
This rewrite rules are quite large, what about files that already contain an
underscore ?
I think we should use a more explicit separator like "_kohav" with rewrite :
RewriteRule ^(.*)_kohav(.*).js.
> +<script type="text/javascript" src="[% interface %]/[% theme %]/js/datatables_[% KOHA_VERSION %].js"></script>
The syspref "Version" contains a dot (ie 16.1200037) meaning that files will
have 2 dots, ie :
../datatables_16.1200037.js
This may be a problem for some web-browsers like IE ?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list