nswdpc / silverstripe-cloudflare-boilerplate
Default modules for Silverstripe websites acting as an origin behind a Cloudflare caching proxy
Installs: 2 448
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
This package is auto-updated.
Last update: 2024-11-13 06:53: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
- nswdpc/silverstripe-oldmantium - reinforced Cloudflare support for versioned dataobjects
- cloudflare/sdk - PHP SDK for Cloudflare
- symbiote/silverstripe-oldman - Simple cache purging for page records
- nswdpc/silverstripe-cache-headers - modify HTTP cache headers sent by a Silverstripe website more
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
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.