diff options
author | plegall <plg@piwigo.org> | 2015-12-20 17:49:12 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-12-20 17:49:12 +0100 |
commit | 11f37b24b48ed9307ecdb2ac19f5809876d9227a (patch) | |
tree | ae29a81b0e459b149589c41097708c7abc5f878a /action.php | |
parent | 89bc74b3f30e169ab51e5b2728767f02a94a991c (diff) |
feature #379, multiple format, no browser cache
No need random string in URL to avoid browser cache, coding tip by @modus75
Diffstat (limited to '')
-rw-r--r-- | action.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/action.php b/action.php index 6bdb3bf11..c26df65e5 100644 --- a/action.php +++ b/action.php @@ -186,7 +186,7 @@ if (!url_is_remote($file)) // HTTP/1.1 only $http_headers[] = 'Cache-Control: private, must-revalidate, max-age='.$max_age;*/ - if ( isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) ) + if ('f' != $_GET['part'] and isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) ) { set_status_header(304); foreach ($http_headers as $header) |