PUBLISHED: Jun 2, 2012 1 min read

How to Insert “Must-Revalidate” for Magento Cache

Tom DiDomenico

Tom DiDomenico

Senior Vice President, Digital Strategy & Technology

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:

<![CDATA[Mon, 27 Sep 2010 12:23:53 +0000]]>



<![CDATA[magento_user]]> <![CDATA[magento]]>

<!-- Add the code below this line-->
<![CDATA[nocache]]><!-- see for possible values -->
<!-- Add the code above this line-->

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.