Skip to content

Commit

Permalink
Add the cache-control logic from the 2.1 branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
tburry committed Sep 11, 2012
1 parent c3d4d58 commit 83bf958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/class.controller.php
Expand Up @@ -346,7 +346,7 @@ public function __construct() {
$this->_FormSaved = '';
$this->_Json = array();
$this->_Headers = array(
'Cache-Control' => ' private, no-cache, no-store, must-revalidate', // PREVENT PAGE CACHING: HTTP/1.1
'Cache-Control' => 'private, no-cache, no-store, max-age=0, must-revalidate', // PREVENT PAGE CACHING: HTTP/1.1
'Expires' => 'Sat, 01 Jan 2000 00:00:00 GMT', // Make sure the client always checks at the server before using it's cached copy.
'Pragma' => 'no-cache', // PREVENT PAGE CACHING: HTTP/1.0
'X-Garden-Version' => APPLICATION.' '.APPLICATION_VERSION,
Expand Down

0 comments on commit 83bf958

Please sign in to comment.