summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
authorChristian Schneider2023-12-14 17:46:42 +0100
committerChristian Schneider2023-12-14 17:46:42 +0100
commitd2f39dc0141fe1ff22ede28c370bb665ca24a6da (patch)
tree48fb0277b44d567c49e08daa3ad0bcb70e115669 /itjs.class
parent72ea001942c5811d80a8102e3249049086eb7da9 (diff)
downloaditools-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.class1
1 files changed, 0 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 01b971e..e548cd8 100644
--- a/itjs.class
+++ b/itjs.class
@@ -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
}
/**