<p><u>How to define Dynamic Content Caching Conditions:</u></p>
<p>1.For scripts that change with every access (ex: Shopping Carts, POSTs) leave the file Not Cached.</p>
<p>2.For scripts that appear the same for all users but change over time (ex: News listing, default portal home page, What's new / new products page), cache the file. Keep the conditions as ALLGET. Set the lifetime, to be the maximum amount of time you can have the results to remain the same (ex: News headlines page could be updated every 10 minutes (600 seconds)).</p>
<p>3.For scripts that generate different results depending on a specific variable (ex: Per browser type, per language request), identify that variable in the conditions, whether it be GET, COOKIE, REQUEST, SERVER, SESSION, or ALLSESSION. Set the lifetime as described above.</p>
<p>4.For pages that are personalized per user, consider partial caching.</p>
<p>Note: If you need to consult Zend's experts on the Dynamic Content Caching Conditions and how to best utilize them, go to the Testing tab and click the Expert Advice icon.</p>
<br>
<p>To define default caching conditions, go to Default Dynamic Caching Conditions in the Settings tab and click Change Default Conditions. However, if you wish to override the default conditions for specific scripts, select the File View tab and follow these steps:</p>
<p>1.Click the required script to display the Conditions dialog. Make sure the files status is Cache.</p>
<p>2.Change the default caching settings for that script and Save.</p>