nswdpc/silverstripe-cloudflare-boilerplate

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

Installs: 2 229

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

v1.0.0 2024-05-13 04:46 UTC

This package is auto-updated.

Last update: 2024-06-13 05:57:24 UTC


README

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.