PHPackages                             silverstripe/staticpublishqueue - 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. silverstripe/staticpublishqueue

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

silverstripe/staticpublishqueue
===============================

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

7.0.2(9mo ago)45135.4k↓17.3%61[10 issues](https://github.com/silverstripe/silverstripe-staticpublishqueue/issues)4BSD-3-ClausePHPPHP ^8.3CI passing

Since Jun 28Pushed 2mo ago17 watchersCompare

[ Source](https://github.com/silverstripe/silverstripe-staticpublishqueue)[ Packagist](https://packagist.org/packages/silverstripe/staticpublishqueue)[ RSS](/packages/silverstripe-staticpublishqueue/feed)WikiDiscussions 7 Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (58)Used By (4)

Static Publisher with Queue
===========================

[](#static-publisher-with-queue)

[![CI](https://github.com/silverstripe/silverstripe-staticpublishqueue/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-staticpublishqueue/actions/workflows/ci.yml)[![Silverstripe supported module](https://camo.githubusercontent.com/9b7e93d393a01f6d3091fb30983b870aa863ef076858115faaa1c74b995854ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73696c7665727374726970652d737570706f727465642d3030373143342e737667)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)

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

[](#installation)

```
composer require silverstripe/staticpublishqueue
```

Brief
-----

[](#brief)

This module provides an API for your project to be able to generate a static cache of your pages to enhance performance by not booting Silverstripe in order to serve requests.

It generates the cache files using the [QueuedJobs module](https://docs.silverstripe.org/en/optional_features/queuedjobs/).

[Documentation](https://docs.silverstripe.org/en/optional_features/staticpublishqueue/)

Unit-testing with StaticPublisherState to disable queuedjobs for unit-tests
---------------------------------------------------------------------------

[](#unit-testing-with-staticpublisherstate-to-disable-queuedjobs-for-unit-tests)

You can use `StaticPublisherState` to disable queuejobs job queueing and logging in unit-testing to improve performance.

Add the following yml to your project:

```
---
Name: staticpublishqueue-tests
Only:
  classexists:
    - 'Symbiote\QueuedJobs\Tests\QueuedJobsTest\QueuedJobsTest_Handler'
    - 'SilverStripe\StaticPublishQueue\Test\QueuedJobsTestService'
---
SilverStripe\Core\Injector\Injector:
  SilverStripe\Dev\State\SapphireTestState:
    properties:
      States:
        staticPublisherState: '%$SilverStripe\StaticPublishQueue\Dev\StaticPublisherState'
```

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance67

Regular maintenance activity

Popularity47

Moderate usage in the ecosystem

Community41

Growing community involvement

Maturity92

Battle-tested with a long release history

 Bus Factor4

4 contributors hold 50%+ of commits

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 ~84 days

Recently: every ~54 days

Total

56

Last Release

84d ago

Major Versions

5.x-dev → 6.2.12024-06-17

6.2.2 → 7.0.0-alpha12024-10-30

6.3.0-rc1 → 7.0.0-beta12025-01-23

6.3.1 → 7.0.02025-05-01

6.x-dev → 7.0.12025-07-23

PHP version history (4 changes)5.0.0PHP ^7.1

5.2.0PHP ^7.4 || ^8.0

6.0.0-beta1PHP ^8.1

7.0.0-alpha1PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/654636?v=4)[Aaron Carlino](/maintainers/unclecheese)[@unclecheese](https://github.com/unclecheese)

![](https://www.gravatar.com/avatar/b0cba8b534e20e6ab4fff555a97b237a18436ebca1446fc0b29c8a8b504038b9?d=identicon)[GuySartorelli](/maintainers/GuySartorelli)

![](https://avatars.githubusercontent.com/u/111025?v=4)[Ingo Schommer](/maintainers/chillu)[@chillu](https://github.com/chillu)

![](https://www.gravatar.com/avatar/a25bc04c5720a36869d5a39c6449dde7eb43e19b7c8e666d5f632d6a9ab440b1?d=identicon)[emteknetnz](/maintainers/emteknetnz)

![](https://www.gravatar.com/avatar/afbb3dcc9ef29c1a6eedd6addcae5fce9ab1271915a85a4c349301b71237368d?d=identicon)[silverstripe-machine01](/maintainers/silverstripe-machine01)

![](https://www.gravatar.com/avatar/be6648e60fbab6f70bfc34dd8c14259562d28a47510a934ea9c01fe98633f3c2?d=identicon)[sminnee](/maintainers/sminnee)

![](https://avatars.githubusercontent.com/u/1168676?v=4)[Maxime Rainville](/maintainers/maxime-rainville)[@maxime-rainville](https://github.com/maxime-rainville)

---

Top Contributors

[![dhensby](https://avatars.githubusercontent.com/u/563596?v=4)](https://github.com/dhensby "dhensby (62 commits)")[![GuySartorelli](https://avatars.githubusercontent.com/u/36352093?v=4)](https://github.com/GuySartorelli "GuySartorelli (53 commits)")[![emteknetnz](https://avatars.githubusercontent.com/u/4809037?v=4)](https://github.com/emteknetnz "emteknetnz (49 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (32 commits)")[![andrewandante](https://avatars.githubusercontent.com/u/9702648?v=4)](https://github.com/andrewandante "andrewandante (29 commits)")[![mateusz](https://avatars.githubusercontent.com/u/118653?v=4)](https://github.com/mateusz "mateusz (21 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (18 commits)")[![robbieaverill](https://avatars.githubusercontent.com/u/5170590?v=4)](https://github.com/robbieaverill "robbieaverill (16 commits)")[![mfendeksilverstripe](https://avatars.githubusercontent.com/u/26395487?v=4)](https://github.com/mfendeksilverstripe "mfendeksilverstripe (9 commits)")[![DorsetDigital](https://avatars.githubusercontent.com/u/15108750?v=4)](https://github.com/DorsetDigital "DorsetDigital (6 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (5 commits)")[![johannesx75](https://avatars.githubusercontent.com/u/3908339?v=4)](https://github.com/johannesx75 "johannesx75 (5 commits)")[![edlinklater](https://avatars.githubusercontent.com/u/1176635?v=4)](https://github.com/edlinklater "edlinklater (5 commits)")[![jonom](https://avatars.githubusercontent.com/u/1079425?v=4)](https://github.com/jonom "jonom (4 commits)")[![chrispenny](https://avatars.githubusercontent.com/u/505788?v=4)](https://github.com/chrispenny "chrispenny (3 commits)")[![lars-lemon8](https://avatars.githubusercontent.com/u/15701748?v=4)](https://github.com/lars-lemon8 "lars-lemon8 (3 commits)")[![jyrkij](https://avatars.githubusercontent.com/u/9883?v=4)](https://github.com/jyrkij "jyrkij (2 commits)")[![maxime-rainville](https://avatars.githubusercontent.com/u/1168676?v=4)](https://github.com/maxime-rainville "maxime-rainville (2 commits)")[![nicole-ashley](https://avatars.githubusercontent.com/u/2626677?v=4)](https://github.com/nicole-ashley "nicole-ashley (2 commits)")[![sabina-talipova](https://avatars.githubusercontent.com/u/87288324?v=4)](https://github.com/sabina-talipova "sabina-talipova (2 commits)")

---

Tags

hacktoberfestsecurityperformancehtmlsilverstripecachecachingqueuestaticpublishingstatic-publishingstatic-cachingstatic-cache

### Embed Badge

![Health badge](/badges/silverstripe-staticpublishqueue/health.svg)

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

###  Alternatives

[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

153471.5k29](/packages/putyourlightson-craft-blitz)[tractorcow/silverstripe-dynamiccache

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

3916.0k2](/packages/tractorcow-silverstripe-dynamiccache)[maartenstaa/laravel-41-route-caching

This package allows you to cache your routes definitions, thereby speeding up each request.

25371.9k](/packages/maartenstaa-laravel-41-route-caching)[alekseykorzun/memcached-wrapper-php

Optimized PHP 5 wrapper for Memcached extension that supports dog-piling, igbinary and local storage

2984.6k1](/packages/alekseykorzun-memcached-wrapper-php)

PHPackages © 2026

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