Install methods:
This installation manual explains how to use Cm_Cache_Backend_File based caching.
If you have experience with Redis cache, you will understand how to do it for Redis.
- Make sure you run Magento 1.7 or newer
- Install Modman
cdto your Magento root dirtest -d .modman || modman initmodman clone --copy --force https://github.com/magehost/magehost_blockcache- If you keep your Magento code in Git: Add
.modmanto your.gitignore - Edit
app/etc/local.xml: inside<config><global>add/update:
<cache><backend>MageHost_Cm_Cache_Backend_File</backend></cache> - In Magento Admin: System > Configuration > ADVANCED > Developer > Template Settings
- Set
Allow SymlinkstoYes
- Set
- In Magento Admin: Flush Cache Storage
- Log out from Magento Admin and log back in
- Configure via: System > Configuration > ADVANCED > MageHost BlockCache
- Test every different kind of page on your site
- The first hit the page will be slow because we just cleaned all caches. If you hit the URL it should be faster, if caching is enabled for that kind of page.
- Make sure you run Magento 1.7 or newer
cdto your Magento root dirtest -d .modman || modman initgit submodule add https://github.com/magehost/magehost_blockcache .modman/magehost_blockcachemodman deploy --force magehost_blockcache- Edit
app/etc/local.xml: inside<config><global>add/update:
<cache><backend>MageHost_Cm_Cache_Backend_File</backend></cache> n98-magerun.phar dev:symlinks --global --onn98-magerun.phar cache:flush- Log out from Magento Admin and log back in
- Configure via: System > Configuration > ADVANCED > MageHost BlockCache
- Test every different kind of page on your site
- The first hit the page will be slow because we just cleaned all caches. If you hit the URL it should be faster, if caching is enabled for that kind of page.