More information about the internals of the module can be found on the website of the developer of the module, Gordon Lesti.
A tutorial on how it works is available on the page “How does Lesti::FPC work” .
This module also works in combination with
This article will explain how to configure Lesti::FPC and use it on Hypernode. It is however recommended to first enable Redis Cache as your caching backend before proceeding with this tutorial.
NB: When you used the hypernode-importer and you were already using
Lesti::FPC, you can skip this tutorial, as we already added the configuration for caching using
- Go to your public folder:
- If the
~/public/.modmandirectory is not present, initialise modman to create the directory:1modman init
- Use the following command to install the Lesti::FPC module on your shop:
1modman clone git://github.com/GordonLesti/Lesti_Fpc.git
Move the files to the correct folder
- Go to the .modman/Lesti_Fpc/app/etc folder and copy the fpc.xml.sample to the
app/etcdirectory and rename it to fpc.xml:1cd ~/public/.modman/Lesti_Fpc/app/etc && cp fpc.xml.sample /data/web/public/app/etc/fpc.xml
Edit your fpc.xml file
- Open the file and delete everything between the
- In between the
</fpc>tags, paste the following lines of code:12345678910111213141516<lifetime>86400</lifetime><backend>Cm_Cache_Backend_Redis</backend><backend_options><server>redismaster</server><port>6379</port><persistent></persistent><database>1</database><password></password><force_standalone>0</force_standalone><connect_retries>1</connect_retries><lifetimelimit>86400</lifetimelimit><read_timeout>10</read_timeout><compress_data>1</compress_data><compress_tags>1</compress_tags><compression_lib>gzip</compression_lib></backend_options>
- Enable FPC caching in your Magento backend.
Flush your cache after making these adjustments:1n98-magerun cache:flush
Warm your full page cache
To warm your full page cache, see the page about cache warming