HTML Cache plugin for Craft CMS: make Craft faster!
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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 :beer: through Pledgie!
To install HTML Cache, follow these steps:
htmlcache-masterdirectory into your
git clone https://github.com/craftapi/htmlcache.gitdirectly into your
craft/pluginsfolder. You can then update it with
htmlcachefor 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.