What is a cache warmer anyway? How can it help you running your Magento store at optimal speed all the time? In a nutshell: A cache warmer calls all your store URLs at a predefined time. Doing so, it makes…
Cache Warmer for Magento 1 and Magento 2
What is a Magento cache warmer, and how can it help your Magento 1 or Magento 2 store run smoothly? In simple terms, a cache warmer visits all your store URLs in the background, for example once a day at…
Clearing Lesti FPC programmatically (Magento 1)
Use the following code to flush the Lesti Full Page Cache (Lesti FPC). For example, you can execute the PHP script through cron to clear the FPC automatically.
|
1 |
Mage::getSingleton('fpc/fpc')->clean(); |
Removing block from cache (Magento 1)
To remove a certain block from the Magento cache, use the below code.
|
1 2 3 |
<reference name="name.of.the.block"> <action method="setCacheLifetime"><s>null</s></action> </reference> |