diff --git a/.gsoc/todo.txt b/.gsoc/todo.txt deleted file mode 100644 index 4dd9492f8..000000000 --- a/.gsoc/todo.txt +++ /dev/null @@ -1 +0,0 @@ -restore cache'ing in phpmyadmin.css.php diff --git a/phpmyadmin.css.php b/phpmyadmin.css.php index 7c73cf414..2275c97ff 100644 --- a/phpmyadmin.css.php +++ b/phpmyadmin.css.php @@ -35,11 +35,7 @@ header('Content-Type: text/css; charset=UTF-8'); // Cache output in client - the nocache query parameter makes sure that this // file is reloaded when config changes -// todo: restore header -//header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT'); -//header('Expires: ' . $GLOBALS['now']); // rfc2616 - Section 14.21 -//header('Last-Modified: ' . $GLOBALS['now']); -header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 +header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT'); $_SESSION['PMA_Theme_Manager']->printCss(PMA_FRAME); -?> \ No newline at end of file +?>