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(); |
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(); |