[Koha-bugs] [Bug 27009] Use 301 to redirect from tracklinks.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 16 09:19:39 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27009

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian.maurice at biblibre.com

--- Comment #3 from Julian Maurice <julian.maurice at biblibre.com> ---
HTTP 301 responses are cacheable by default, which means some browsers can
cache the redirect indefinitely, and can redirect without doing the request to
tracklinks.pl once it is cached. I believe it is not the intended behaviour for
a script that is supposed to track redirects.

I don't know what are the modern browsers caching strategies for those
redirects, but just to be sure, I think we should add a header 'Cache-Control:
no-store'.

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


More information about the Koha-bugs mailing list