Shortens education.js.tpl lifetime.
authorStéphane Jacob <sj@m4x.org>
Thu, 27 Oct 2011 07:29:28 +0000 (09:29 +0200)
committerStéphane Jacob <sj@m4x.org>
Thu, 27 Oct 2011 07:29:28 +0000 (09:29 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile.php

index 6714c4e..c79a123 100644 (file)
@@ -358,7 +358,7 @@ class ProfileModule extends PLModule
 
     function handler_education_js($page)
     {
-        pl_cached_content_headers("text/javascript", "utf-8");
+        pl_cached_content_headers('text/javascript', 'utf-8', 3600);
         $page->changeTpl('profile/education.js.tpl', NO_SKIN);
         require_once 'education.func.inc.php';
     }