---
 catalogue/image.pl |    3 +--
 opac/opac-image.pl |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/catalogue/image.pl b/catalogue/image.pl
index 4fa77e9..ff74cbe 100755
--- a/catalogue/image.pl
+++ b/catalogue/image.pl
@@ -92,8 +92,7 @@ if ( C4::Context->preference("LocalCoverImages") ) {
 }
 print $data->header(
     -type            => $mimetype,
-    -'Cache-Control' => 'no-store',
-    -expires         => 'now',
+    -expires         => '+30m',
     -Content_Length  => length($image)
 ), $image;
 
diff --git a/opac/opac-image.pl b/opac/opac-image.pl
index ba554c7..e2dc556 100755
--- a/opac/opac-image.pl
+++ b/opac/opac-image.pl
@@ -92,8 +92,7 @@ if ( C4::Context->preference("OPACLocalCoverImages") ) {
 }
 print $data->header(
     -type            => $mimetype,
-    -'Cache-Control' => 'no-store',
-    -expires         => 'now',
+    -expires         => '+30m',
     -Content_Length  => length($image)
 ), $image;
 
-- 
1.7.2.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to