From 7a5baa2912b9feee1f8d281763c8605b451de78b Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 9 May 2015 21:34:29 +0200 Subject: [PATCH] set no-cache header on bookmark shortcut --- controllers/controllers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/controllers.php b/controllers/controllers.php index db2a885..214eaa3 100644 --- a/controllers/controllers.php +++ b/controllers/controllers.php @@ -90,6 +90,7 @@ $app->get('/docs', function() use($app) { $app->get('/add-to-home', function() use($app) { $params = $app->request()->params(); + header("Cache-Control: no-cache, must-revalidate"); if(array_key_exists('token', $params) && !session('add-to-home-started')) { unset($_SESSION['add-to-home-started']);