magespecialist / lts2

Magento LightSpeed Cache Engine v2
6 stars 4 forks source link

Magento LightSpeed Module v2

LTS2 is an advanced FPC cache engine for Magento 1.x with nested blocks capability.

How to install

If you get an error empty your cache manually:

In standard installations you must clear the content of var/cache (be careful, do not remove the folder itself). If you have another cache engine like redis or memcache you will have to flush them or restart.

How to uninstall

Just remove the files ;) Remember to remove app/code/local/Mage/Core/Block/Abstract.php

Configuring the cache

The LTS2 module configuration is entirely PHP driven for the best performance and flexibility. All the configration parameters are inside MSP_LTSR2_Model_Cache class.

You can configure LTS2 by modifying two class methods: _getActionCacheData and _getBlockCacheData .

Each method must return one PHP hash containing the following keys:

_getActionCacheData method:

Defines caching options depending on the action.

_getBlockCacheData method:

Defines block caching options on cached actions.