From 4431b5bb02995701d187e0cf0a903ddd2d8adbe4 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 29 Jul 2009 07:42:36 +0000 Subject: [PATCH] theme/standard MDL-19953 increase caching of standard style sheet --- theme/standard/styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/standard/styles.php b/theme/standard/styles.php index fd3271b72d4..4d9ee25291f 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -7,7 +7,7 @@ /// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD. - $lifetime = 600; // Seconds to cache this stylesheet + $lifetime = (48 * 3600) + 1; // Seconds to cache this stylesheet (2 days for standard) $nomoodlecookie = true; // Cookies prevent caching, so don't use them require_once("../../config.php"); // Load up the Moodle libraries $themename = basename(dirname(__FILE__)); // Name of the folder we are in