summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend.php b/backend.php
index 67bdabb56..656dcbf9c 100644
--- a/backend.php
+++ b/backend.php
@@ -2,11 +2,9 @@
require_once "sessions.php";
require_once "modules/backend-rpc.php";
- header("Cache-Control: no-cache, must-revalidate");
- header("Cache-Control: no-cache, must-revalidate");
-
+ header("Cache-Control: no-cache, max-age=0, must-revalidate");
header("Pragma: no-cache");
- header("Expires: -1");
+ header("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
/* if ($_GET["debug"]) {
define('DEFAULT_ERROR_LEVEL', E_ALL);