]> git.koha-community.org Git - koha.git/commit
Bug 5371: Force no caching for private pages at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Sep 2015 11:45:15 +0000 (12:45 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 4 Dec 2015 19:24:56 +0000 (20:24 +0100)
commit80c433c4449469831c95a9d59ef952ef161cb96a
treec7cf07c9c385af72cfe914fb3d7664d272e382b2
parent674260ed4696bbf3b5a1bbeb33359caaaca5d974
Bug 5371: Force no caching for private pages at the OPAC

In order no to slow too much the browsing, it is certainly not a good
idea to add this cache-control value for all pages at the OPAC.

This patch just adds where the author found it could be useful.

Test plan:
1/ Login at the OPAC
2/ Go on the account page (opac/opac-account.pl)
3/ Click log out
4/ Use the back button of your browser
Without this patch you will see the previous page.
With this patch, the previous page will be reloaded and you will be
redirected to the login form.

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 542ab0bce949eba3abc98ff1c433fe6099db105d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
opac/opac-account.pl
opac/opac-basket.pl
opac/opac-browser.pl
opac/opac-discharge.pl
opac/opac-memberentry.pl
opac/opac-mymessages.pl
opac/opac-passwd.pl
opac/opac-privacy.pl
opac/opac-reserve.pl
opac/opac-search-history.pl
opac/opac-user.pl