From d2f39dc0141fe1ff22ede28c370bb665ca24a6da Mon Sep 17 00:00:00 2001
From: Christian Schneider
Date: Thu, 14 Dec 2023 17:46:42 +0100
Subject: Do not cache API responses for 10 seconds by default, e.g.
 /api/feed.json on mobile home page

---
 itjs.class | 1 -
 1 file changed, 1 deletion(-)

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
 }
 
 /**
-- 
cgit v1.2.3