Marfola
Joined: 09 May 2007 Posts: 4
|
Posted: 02 Feb 2010 - 9:08 am Post subject:
no_cache=0
|
|
|
I’m trying to make typo3 send cache control headers (cache private) for some of the pages of my typo3 website. I’ve disabled the no_cache flag in each template of my tree. I've set the config.no_cache = 0 in the main, top most template. I've set the flag SendCacheHeaders=1 in the main, top most template.
The unmapped url returns a cache control:private header.
The mapped urls return the following header:
Cache Control: private
Pragma: no cache
Expires: 1981.
I use the realurl plugin.
My extensions aren’t USER_INT.
I wasn’t logged in (FE or BE) when I tested the header.
I’ve run a search on all my extensions and none are set to no_cache=1
In the interim, I've also looked at some TYPO3 file:
- In tslib_fe “Pragma: no_cache” is set only for the header 503 (Service unavailable) and thus is not the cause of our problem.
- I followed the flow of the frontend user thinking "PRAGMA: no-cache" was in someway tied to fe_user or the session. I disabled both but the header remained unchanged: PRAGMA: no-cache.
Any suggestions. I'm sure I've missed something basic.
Thanks in advance,
Here's my realurl init:
| Line: |
Code: |
1 2 3 4 5 6 7 8 9
| |
'init' => array(
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => false,
'emptyUrlReturnValue' => '/',
)
|
|
Show complete code
|
|
|