diff options
author | Christian Schneider | 2023-12-14 17:46:42 +0100 |
---|---|---|
committer | Christian Schneider | 2023-12-14 17:46:42 +0100 |
commit | d2f39dc0141fe1ff22ede28c370bb665ca24a6da (patch) | |
tree | 48fb0277b44d567c49e08daa3ad0bcb70e115669 /itjs.class | |
parent | 72ea001942c5811d80a8102e3249049086eb7da9 (diff) | |
download | itools-d2f39dc0141fe1ff22ede28c370bb665ca24a6da.tar.gz itools-d2f39dc0141fe1ff22ede28c370bb665ca24a6da.tar.bz2 itools-d2f39dc0141fe1ff22ede28c370bb665ca24a6da.zip |
Do not cache API responses for 10 seconds by default, e.g. /api/feed.json on mobile home page
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -31,7 +31,6 @@ static function send_headers($charset = null) $charset = ini_get('default_charset') ?: 'iso-8859-1'; @header("Content-Type: application/x-javascript; charset=$charset"); - @header('Expires: ' . gmdate('D, d M Y H:i:s', time()+10) . ' GMT'); # prevent broken data on IE reloads } /** |