]> 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)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 2 Oct 2015 14:06:17 +0000 (11:06 -0300)
commit542ab0bce949eba3abc98ff1c433fe6099db105d
tree5c1299839c35040e724f8785f6d1e6d473339541
parent098fd64621043d7109b5e50f77df8be616243e1f
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>
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