diff options
author | shaver@mozilla.com <shaver@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-02-14 03:57:28 (GMT) |
---|---|---|
committer | shaver@mozilla.com <shaver@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-02-14 03:57:28 (GMT) |
commit | 90dd23296c54a3c5ede9c4b27f6407c7bbec1f95 (patch) | |
tree | e19553b3f2bf2935e3af535f873dce80ee9098b2 /site/app/app_controller.php | |
parent | 5b25336049618799c714d3c0ea74821ea3627688 (diff) |
Listen, punk, when I say cache, I mean cache. And I'm a little tired of having to tell you about it, to be honest.
git-svn-id: http://svn.mozilla.org/addons/trunk@2140 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/app_controller.php')
-rw-r--r-- | site/app/app_controller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site/app/app_controller.php b/site/app/app_controller.php index 07801a1..e9d69bc 100644 --- a/site/app/app_controller.php +++ b/site/app/app_controller.php @@ -198,7 +198,8 @@ class AppController extends Controller } function forceCache() { - header('Cache-Control: public'); + header('Cache-Control: public, max-age=' . HOUR); + header('Expires: ' . gmdate("D, j M Y H:i:s", time() + HOUR) . " GMT"); } } ?> |