diff options
author | Max Kostikov <max@kostikov.co> | 2018-11-06 16:22:34 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-11-06 16:22:34 +0100 |
commit | 40d9277ef38ef1200db59cd2f8c6b9e2a80bc332 (patch) | |
tree | e01a399761fa23cb7959976cc87e83e8193eb08f /Zotlabs/Module/Photo.php | |
parent | 3491c488d340b7d5b4e0610398427cb52c05bf8e (diff) | |
download | volse-hubzilla-40d9277ef38ef1200db59cd2f8c6b9e2a80bc332.tar.gz volse-hubzilla-40d9277ef38ef1200db59cd2f8c6b9e2a80bc332.tar.bz2 volse-hubzilla-40d9277ef38ef1200db59cd2f8c6b9e2a80bc332.zip |
remove 'Expiries' HTTP header
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-rw-r--r-- | Zotlabs/Module/Photo.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index d76fca278..0f47ee103 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -246,8 +246,7 @@ class Photo extends \Zotlabs\Web\Controller { // leave it alone. $cache = get_config('system','photo_cache_time', 86400); // 1 day by default - - header("Expires: " . gmdate("D, d M Y H:i:s", time() + $cache) . " GMT"); + header("Cache-Control: max-age=" . $cache); } |