Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/app_controller.php
diff options
context:
space:
mode:
authorshaver@mozilla.com <shaver@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2007-02-14 04:03:38 (GMT)
committer shaver@mozilla.com <shaver@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2007-02-14 04:03:38 (GMT)
commit5a92ff2ac1b95c03b6caf7cf2faa7abf78a5d022 (patch)
tree843643b98a2079452bc51e6a15fda3513603959b /site/app/app_controller.php
parent90dd23296c54a3c5ede9c4b27f6407c7bbec1f95 (diff)
The last header difference I can see between remora.stage and the current AMO site, so why not? I have nothing but time.
git-svn-id: http://svn.mozilla.org/addons/trunk@2141 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/app_controller.php')
-rw-r--r--site/app/app_controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/site/app/app_controller.php b/site/app/app_controller.php
index e9d69bc..76f4ec1 100644
--- a/site/app/app_controller.php
+++ b/site/app/app_controller.php
@@ -199,6 +199,7 @@ class AppController extends Controller
function forceCache() {
header('Cache-Control: public, max-age=' . HOUR);
+ header('Last-modified: ' . gmdate("D, j M Y H:i:s", time()) . " GMT");
header('Expires: ' . gmdate("D, j M Y H:i:s", time() + HOUR) . " GMT");
}
}