Download the PHP package nswdpc/silverstripe-cache-headers without Composer
On this page you can find all versions of the php package nswdpc/silverstripe-cache-headers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nswdpc/silverstripe-cache-headers
More information about nswdpc/silverstripe-cache-headers
Files in nswdpc/silverstripe-cache-headers
Package silverstripe-cache-headers
Short Description Modify cache headers via configuration
License BSD-3-Clause
Informations about the package silverstripe-cache-headers
Cache header support for Silverstripe
The default Silverstripe cache handling sends headers that are not considered cacheable by a proxy such as Cloudflare.
This module allows you to modify this behaviour via configuration, allowing a proxy to cache based on the headers sent by the application.
Useful information
Usage
- Install this extension using composer
- Modify the configuration rules to your requirements
- Test behind your caching proxy to verify Cache-Control and related header values are as expected
Installation
Install via composer:
Documentation
The priority of caching directives in Silverstripe are in this order as follows:
By default this module enables the cache (enableCache), but does not provide the force parameter as true
.
See documentation for a primer on various options, including sample configurations.
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.