]> 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)
committerLiz Rea <wizzyrea@gmail.com>
Fri, 11 Dec 2015 02:16:42 +0000 (15:16 +1300)
commitb61d1c461bdaa22af48005e0d7a39c5d08ee0a3b
tree7cf6abaee32c557cfee20e93d50d36b41c09ac8c
parent14f3736051a0cc50b6b667a85bd20125e9e0bdd3
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>
Conflicts:
opac/opac-discharge.pl
opac/opac-account.pl
opac/opac-basket.pl
opac/opac-browser.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