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:
authormorgamic@mozilla.com <morgamic@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2007-02-13 04:53:09 (GMT)
committer morgamic@mozilla.com <morgamic@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2007-02-13 04:53:09 (GMT)
commit9650d5931dbe2577d872e3cf32fe5f32a8bec872 (patch)
tree9bfee7cd88ed0bf88ab0a36b664773d4a9c311bb /site/app/app_controller.php
parenta46388a6d451e5a87d70127cf6f76934e94851fd (diff)
Added cache-control: public to app_controller. Still trying to debug this.
git-svn-id: http://svn.mozilla.org/addons/trunk@2069 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/app_controller.php')
-rw-r--r--site/app/app_controller.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/site/app/app_controller.php b/site/app/app_controller.php
index 1f714d4..07801a1 100644
--- a/site/app/app_controller.php
+++ b/site/app/app_controller.php
@@ -196,5 +196,9 @@ class AppController extends Controller
header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, private');
header('Pragma: no-cache');
}
+
+ function forceCache() {
+ header('Cache-Control: public');
+ }
}
?>