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.1(1mo ago)3428[1 issues](https://github.com/stuartcusackie/statamic-cache-requester/issues)MITPHPPHP ^8.0

Since Aug 5Pushed 1mo 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 1mo ago

READMEChangelog (10)Dependencies (6)Versions (37)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 93% of packages

Maintenance81

Actively maintained with recent releases

Popularity18

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

Total

36

Last Release

59d ago

Major Versions

0.5.0 → 1.02022-11-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b3b7f67ae3b509c07e97c7bf803427ae0965adeed933daa02bffc2a37c08333?d=identicon)[stuartcusackie](/maintainers/stuartcusackie)

---

Top Contributors

[![stuartcusackie](https://avatars.githubusercontent.com/u/20210934?v=4)](https://github.com/stuartcusackie "stuartcusackie (93 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.

135192.6k5](/packages/statamic-rad-pack-runway)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202541.1k6](/packages/swayok-alternative-laravel-cache)[alexmg86/laravel-sub-query

Laravel subquery

7538.4k](/packages/alexmg86-laravel-sub-query)[byerikas/cache-tags

Allows for Redis/Valkey cache flushing multiple tagged items by a single tag.

1413.9k](/packages/byerikas-cache-tags)

PHPackages © 2026

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