How to Insert “Must-Revalidate” for Magento Cache

This tip is helpful to stop the client from caching content.


Open your local XML file.

This can be found in the [Magento Root]/app/etc/local.xml

Locate the follow area under the <global> node, and insert the code from line 26:

<date><![CDATA[Mon, 27 Sep 2010 12:23:53 +0000]]></date>
<!-- Add the code below this line-->
<session_cache_limiter><![CDATA[nocache]]></session_cache_limiter><!-- see for possible values -->
<!-- Add the code above this line-->

After you save and commit your changes, clear your Magento cache for the site.

Log into your Magento Dashbaord, and go to Systems > Cache Management

Next, select all the the Cache Types. Set your Action to: Refresh, and click the orange Submit button

We advise not to run this action for more than a week to maintain positive performance.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>