PHPackages                             stuartcusackie/statamic-cache-requester - 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. stuartcusackie/statamic-cache-requester

ActiveLibrary[Caching](/categories/caching)

stuartcusackie/statamic-cache-requester
=======================================

Artisan commands that queue up entry and glide urls for retrieval, which engages the caches and makes first time loads much quicker.

1.3.2(2mo ago)3492[1 issues](https://github.com/stuartcusackie/statamic-cache-requester/issues)MITPHPPHP ^8.0

Since Aug 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/stuartcusackie/statamic-cache-requester)[ Packagist](https://packagist.org/packages/stuartcusackie/statamic-cache-requester)[ RSS](/packages/stuartcusackie-statamic-cache-requester/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (9)Versions (38)Used By (0)

Statamic Cache Requester
========================

[](#statamic-cache-requester)

Artisan commands that queue up entry and glide urls for retrieval, which engages the caches and makes first time loads much quicker. Note that this package provides no benefict to Statamic applications that save cached images, i.e. cache =&gt; true.

This package can do a few things:

1. Queue up all entry urls for retrieval which automatically engages the static cache, making first time loads quicker. UPDATE: Statamic actually has a built in function for this which should be preferable - `static:warm`
2. Search for all image and picture sources within your entries and queue them up for a separate retrieval to initiate Glide generation. This means that all images and responsive variants will be pre-generated for your first visitor. This is particularly useful when you have lots of responsive image variants or if you are using Spatie's Statamic Responsive Images package. It can help to avoid server crashes for image heavy websites where Glide has a lot of processing to perform.
3. Listens for EntrySaved events and automatically queues the entry's url for image requests.

**CAUTION:** Glide image manipulation can take a lot of work, especially when using responsive image variants and jpeg fallbacks. For example, a site using Spatie's responsive images addon could have 10 sizes and 2 formats per image. If this site has 1000 images then 20,000 variants will need to be manipulated by Glide. Keep an eye on your CPU usage, especially if using a hosting server that limits CPU (e.g. AWS-EC2).

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

[](#installation)

```
composer require stuartcusackie/statamic-cache-requester

```

```
php please vendor:publish --tag=statamic-cache-requester-config

```

Check the config file for special features such as queue configuration and lightbox image request generation.

Commands
--------

[](#commands)

```
php artisan requester:entries

```

If you are using Static caching then **it's a good idea to add this command to your deploy script (e.g. Forge).** Deployments clear the static cache so this will rebuild it for all entries afterwards. UPDATE: Statamic actually has a built in function for this which should be preferable - `static:warm`

```
php artisan requester:images

```

You will usually only run this command once on initial deployment of the site, or after any major restructuring of asset filenames and folders. I do **not** recommend adding this to your deployment script as images rarely change.

```
php artisan requester:clear

```

Clears the configured queue. Be careful if using the default queue or a shared queue as all jobs will be removed.

Queues
------

[](#queues)

This package utilises a 'cacherequester' queue on the default connection. You can update the queue connection and name using the STATAMIC\_CACHE\_REQUESTER\_QUEUE\_CONNECTION and STATAMIC\_CACHE\_REQUESTER\_QUEUE\_NAME env variables.

Todo
----

[](#todo)

- Add terms to entry requests
- Add multisite functionality
- Experiment with EntryCreated events to process images
- Remove

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance81

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~38 days

Recently: every ~143 days

Total

37

Last Release

64d ago

Major Versions

0.5.0 → 1.02022-11-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20210934?v=4)[Stuart Cusack](/maintainers/stuartcusackie)[@stuartcusackie](https://github.com/stuartcusackie)

---

Top Contributors

[![stuartcusackie](https://avatars.githubusercontent.com/u/20210934?v=4)](https://github.com/stuartcusackie "stuartcusackie (94 commits)")

### Embed Badge

![Health badge](/badges/stuartcusackie-statamic-cache-requester/health.svg)

```
[![Health](https://phpackages.com/badges/stuartcusackie-statamic-cache-requester/health.svg)](https://phpackages.com/packages/stuartcusackie-statamic-cache-requester)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)[statamic/statamic

Statamic

829179.5k](/packages/statamic-statamic)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[thoughtco/statamic-cache-tracker

1939.3k](/packages/thoughtco-statamic-cache-tracker)

PHPackages © 2026

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