[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
Thu Sep 11 21:39:51 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12904

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.renvoize at ptfs-europe
                   |                            |.com

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I've been thinking about this problem for a few yers now.. though never gotten
around to doing much about it.

I did at some point start using mod_pagespeed (by google) on a number of our
server, but this unfortunately led to other problems which I could not narrow
down to anything but this apache module.

However, the real piece I wanted was this caching advantage enabled using the
following filter:

https://developers.google.com/speed/pagespeed/module/filter-cache-extend

I'm wondering if we could do somthing similar, either in the Apache config
itself, or in perl pre apache.

My thought's were to append a version string within the templates (similar to
Kyle's approach but within the filename as opposed to a query string) and then
add some re-write rules in apache to remove the appended string again. (I got
stuck at the apache re-write rules level.. I've never been especially good at
them) I did wonder whether we should be appending a hash of the file content as
opposed to a versions for our version string.. to enable the detection of
customised changes, but this would obviously add to server load too.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list