Ross ROSS = Recommend OSS · open-source software intelligence for agents

spatie/laravel-responsecache

Some data may be outdated — see provenance labels.

Speed up a Laravel app by caching the entire response observed · 2026-09-29

github.com/spatie/laravel-responsecache · homepage · PHP · MIT (permissive) observed · 2026-09-29

Health v2 · maintenance only

93/100

  • Activity 96
  • Release rhythm 84
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 39
  • age_days: 4114
  • days_rel: 25
  • days_push: 25
  • n_releases_24m: 18

Full methodology

Adoption not part of the score

2816 stars · 247 forks observed · 2026-09-29

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A Laravel package by Spatie that caches entire HTTP responses via middleware, returning cached responses for repeat GET requests without re-running the application. It supports configurable lifetimes, per-user cache separation, flexible stale-while-revalidate caching, and programmatic or artisan cache clearing.

Use cases

  • speed up laravel app by caching full http responses
  • cache html and json get requests in laravel
  • serve stale pages while refreshing cache in background
  • clear response cache via artisan command
  • cache responses per logged-in user separately
  • reduce server load for slow laravel pages

When to choose

  • you run a Laravel app with mostly cacheable GET pages
  • you want app-level response caching without configuring Varnish or a CDN
  • you need fine-grained control over which routes are cached via middleware
  • you want stale-while-revalidate behavior for slightly stale pages

When to avoid

  • your app serves highly dynamic, personalized, or frequently changing content
  • you already use a reverse proxy like Varnish or a CDN for full-page caching
  • you need to cache non-GET requests or binary responses
  • you are not using Laravel 12+ with PHP 8.4+

Facets

plugin · maturity active

caching middleware http-server web-development backend performance developer-tools php self-hosted laravel-package response-cache http-cache middleware spatie performance laravel web-server

10 sources

Member repositories

RepositoryRoleHealth v2
spatie/laravel-responsecachemain93

For agents

markdown · JSON · MCP: product_card(name="spatie/laravel-responsecache")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem