PHPackages                             nswdpc/silverstripe-cloudflare-boilerplate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. nswdpc/silverstripe-cloudflare-boilerplate

ActiveSilverstripe-vendormodule[Caching](/categories/caching)

nswdpc/silverstripe-cloudflare-boilerplate
==========================================

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

v1.0.1(4mo ago)03.2kBSD-3-Clause

Since Apr 7Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/nswdpc/silverstripe-cloudflare-boilerplate)[ Packagist](https://packagist.org/packages/nswdpc/silverstripe-cloudflare-boilerplate)[ RSS](/packages/nswdpc-silverstripe-cloudflare-boilerplate/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (2)Versions (9)Used By (0)

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](https://docs.silverstripe.org/en/4/developer_guides/performance/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
-------

[](#modules)

- [nswdpc/silverstripe-oldmantium](https://github.com/nswdpc/silverstripe-oldmantium) - reinforced Cloudflare support for versioned dataobjects
- [cloudflare/sdk](https://github.com/cloudflare/cloudflare-php) - PHP SDK for Cloudflare
- [symbiote/silverstripe-oldman](https://github.com/symbiote/silverstripe-oldman) - Simple cache purging for page records
- [nswdpc/silverstripe-cache-headers](https://github.com/nswdpc/silverstripe-cache-headers) - modify HTTP cache headers sent by a Silverstripe website [more](https://github.com/nswdpc/silverstripe-cache-headers/blob/master/docs/en/001_index.md)

Configuration
-------------

[](#configuration)

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

Installation
------------

[](#installation)

The only supported way of installing this module is via [composer](https://getcomposer.org)

`composer require nswdpc/silverstripe-cloudflare-boilerplate`

LICENSE
-------

[](#license)

[BSD-3-Clause](./LICENSE.md)

Maintainers
-----------

[](#maintainers)

- [dpcdigital@NSWDPC:~$](https://dpc.nsw.gov.au)

Bugtracker
----------

[](#bugtracker)

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

Please review the [code of conduct](./code-of-conduct.md) prior to opening a new issue.

Security
--------

[](#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
----------------------------

[](#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](./code-of-conduct.md) prior to completing a pull request.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance76

Regular maintenance activity

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~336 days

Recently: every ~303 days

Total

6

Last Release

128d ago

Major Versions

v0.2.0 → v1.0.02024-05-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/1caefd99092b4a43254e48c40347224f671032ec1ffc3a457e06a7e9ab6e7c02?d=identicon)[nswdpc](/maintainers/nswdpc)

---

Top Contributors

[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (11 commits)")[![tardinha](https://avatars.githubusercontent.com/u/457209?v=4)](https://github.com/tardinha "tardinha (2 commits)")

---

Tags

silverstripecachingheaderscloudflarepurgecloudfront

### Embed Badge

![Health badge](/badges/nswdpc-silverstripe-cloudflare-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/nswdpc-silverstripe-cloudflare-boilerplate/health.svg)](https://phpackages.com/packages/nswdpc-silverstripe-cloudflare-boilerplate)
```

###  Alternatives

[silverstripe/staticpublishqueue

Static publishing queue to create static versions of pages for enhanced performance and security

45133.4k3](/packages/silverstripe-staticpublishqueue)[tractorcow/silverstripe-dynamiccache

FORK OF Silverstripe module for simple on the fly caching of dynamic content

3916.0k2](/packages/tractorcow-silverstripe-dynamiccache)[steadlane/silverstripe-cloudflare

This module aims to relieve the stress of using Cloudflare caching with any SilverStripe project. Adds extension hooks that clears Cloudflare's cache for a specific page when that page is published or unpublished.

253.7k](/packages/steadlane-silverstripe-cloudflare)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
