Endurance Page Cache adds basic file-based caching to WordPress, as well as more advanced caching solutions in nginx and Cloudflare. EPC is designed to run best on Endurance systems and your mileage may vary.
- Run
git clone git@github.com:bluehost/endurance-page-cache.git
to pull down the code. - Run
composer install
to install PHP dev dependencies. - Run
npm install
to install JS dev dependencies.
- Run
composer run lint
- Run
npm run wp-env start
to boot the WordPress environment - Run
npm run test
to run the tests
- Bump the version number in the header of the
endurance-page-cache.php
file (also theEPC_VERSION
constant). - Push all changes to
master
. - Merge all changes to
production
. - Create a release on GitHub for the new version.
- Log into DigitalOcean and update the
mu-plugins.json
file on the CDN to reflect the new version number. (Download, edit file, upload, make public, and replace). - Make sure to purge the file from the DigitalOcean Spaces CDN to update immediately.