diff options
author | Mario <mario@mariovavti.com> | 2020-05-01 10:24:13 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-01 10:24:13 +0000 |
commit | 18938280f5f4a11f80e1f366638868eedbfee1a7 (patch) | |
tree | fd3ff3d551500112742396f2937687395a3775bf | |
parent | 01334d761aa8219c50625efd4ba4b1e74744c101 (diff) | |
parent | 446204f7d8ee83c8842dfb1e4a71f6f66fbce9e6 (diff) | |
download | volse-hubzilla-18938280f5f4a11f80e1f366638868eedbfee1a7.tar.gz volse-hubzilla-18938280f5f4a11f80e1f366638868eedbfee1a7.tar.bz2 volse-hubzilla-18938280f5f4a11f80e1f366638868eedbfee1a7.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
-rw-r--r-- | Zotlabs/Module/Photo.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 48e2bf4a5..1cf082bdd 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -213,7 +213,7 @@ class Photo extends \Zotlabs\Web\Controller { if(! $data) killme(); - + $etag = '"' . md5($data . $modified) . '"'; if($modified == 0) @@ -269,7 +269,7 @@ class Photo extends \Zotlabs\Web\Controller { // in the event that infrastructure caching is present. $smaxage = intval($maxage/12); - header("Cache-Control: s-maxage=" . $smaxage . ", max-age=" . $maxage . $cachecontrol); + header("Cache-Control: no-cache, s-maxage=" . $smaxage . ", max-age=" . $maxage . $cachecontrol); } |