Skip to content

xini/silverstripe-section-io

SilverStripe Section.io integration (Varnish Cache)

Build Status Scrutinizer Code Quality codecov Version License

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