Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Modifying cache-control headers
 
Nls_io
Jr. Member
 
Avatar
Total Posts:  24
Joined:  2008-02-13
Paris, France
 

Hello,

Our host is trying to setup a cache system but they want us to modify the cache-control headers properties :

Cache-Controlpost-check=0must-revalidateno-storeno-cachepre-check=0

Does anyone know where they are located in the code. I can’t find them at all.

Thanks for your help.

Guillaume Moigneu

 
Magento Community Magento Community
Magento Community
Magento Community
 
gwillem
Jr. Member
 
Avatar
Total Posts:  6
Joined:  2011-01-11
 

For anyone with the same problem (http://xkcd.com/979/ wink), the answer is in the php session_cache_limiter function that adds default cache-control and expires headers. Magento specifically has a configuration option for this (in local.xml).

 
Magento Community Magento Community
Magento Community
Magento Community
 
sbditto85
Jr. Member
 
Total Posts:  6
Joined:  2010-05-18
 

thanks gwillem! Saved me!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top