Skip to content

Default modules for Silverstripe websites acting as an origin behind a Cloudflare caching proxy

License

Notifications You must be signed in to change notification settings

nswdpc/silverstripe-cloudflare-boilerplate

Silverstripe Cloudflare boilerplate

Default modules for Silverstripe websites acting as an origin to a Cloudflare caching proxy.

By default, SilverStripe sends headers which signal to HTTP caches that the response should be not considered cacheable

HTTP Cache Headers

This boilerplate enables:

  • HTTP cache header manipulation
  • Page purge on publish/unpublish via the Cloudflare API
  • Versioned record purging, if the record is represented by a URL

Modules

Configuration

There is no configuration (yet) for this boilerplate. The defaults from included module configurations are used.

Installation

The only supported way of installing this module is via composer

composer require nswdpc/silverstripe-cloudflare-boilerplate

LICENSE

BSD-3-Clause

Maintainers

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.

About

Default modules for Silverstripe websites acting as an origin behind a Cloudflare caching proxy

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published