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

spatie/laravel-responsecache

Speed up a Laravel app by caching the entire response observed · 2026-08-28

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

Health v2 · maintenance only

94/100

  • Activity 98
  • 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-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 32.0
  • age_days: 4066
  • days_rel: 26
  • days_push: 13
  • n_releases_24m: 17

Full methodology

Adoption not part of the score

2811 stars · 247 forks observed · 2026-08-28

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-responsecachemain94

For agents

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

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem