This Craft plugin will generate static HTML files for your website. No need for Reddis/Varnish setups anymore!
This plugin is still in beta, so please test if this plugin works as expected on a development environment before pushing to a production site.
Brought to you by CraftAPI
I've decided to keep this project Open Source/Beerware and to not publish it as a "premium" plugin. If you like the project/find it usefull and you have a few bucks to spare, you're welcome to donate a beer 🍺 through Pledgie!
To install HTML Cache, follow these steps:
htmlcache-master
directory into your craft/plugins
directorygit clone https://github.com/craftapi/htmlcache.git
directly into your craft/plugins
folder. You can then update it with git pull
htmlcache
for Craft to see it. GitHub recently started appending -master
(the branch name) to the name of the folder for zip file downloads.HTML Cache works on Craft 2.5.x and Craft 2.6.x, both PHP 5.6 and 7.0
Creates a HTML Cached page for any non-cp GET request for the duration of one hour (configurable) or untill an entry has been updated. Will not serve a cached request when in DEV-mode
After installing HTML Cache, you'll be redirected to the settings page.
HTML Cache has a settings page where you can enable/disable both normal and ubercache. The ubercache alters the public/index.php file to include extra functionality before Craft gets initialised, eliminating the TTFB caused by Yii.