innoweb / silverstripe-section-io
Integration of the section.io varnish cache
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 4
Forks: 1
Open Issues: 0
Type:silverstripe-vendormodule
Requires
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3.0
Replaces
- xini/silverstripe-section-io: 2.0.0
README
Overview
Integrates a SilverStripe installation with 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().
Requirements
- SilverStripe CMS ^4.0
Installation
Install the module using composer:
composer require innoweb/silverstripe-section-io dev-master
Then run dev/build.
See documentation for further details.
License
BSD 3-Clause License, see License
Documentation
See documentation