SilverStripe Section.io integration (Varnish Cache)
Integrates a SilverStripe installation with [section.io] (https://www.section.io/) varnish cache. section.io is a cloud installation of varnish running on AWS.
It uses varnish bans for flushing, which bans the objects from being delivered from cache (and are therefor re-loaded into the cache from the origin server).
The module currently has the following functionality:
- flush SiteTree objects from the varnish cache onAfterPublish(). The ban allows different strategies, see configuration section below.
- flush files (i.e. PDF, DOC, etc) from the cache onAfterWrite().
- flush images and all resampled versions of those images onAfterWrite().
This is still early stages, PRs welcome!
- SilverStripe CMS ~3.1
Install the module using composer:
composer require xini/silverstripe-section-io dev-master
or download or git clone the module into a ‘section-io’ directory in your webroot.
Then run dev/build.
See documentation for further details.
BSD 3-Clause License, see License