mapado/cache-info-bundle
A Symfony bundle that surfaces cache information in your app, adding a cache panel to the web debug toolbar and profiler so you can inspect cache pools, hits, misses, and stored items while debugging.
Realistic use cases it serves: verifying cache headers on a legacy Symfony service, confirming an HttpCache/CDN rollout behaves as designed, and teaching the team how the existing cache layer resolves requests. For a Laravel codebase specifically, it serves only as a conceptual reference — the equivalent is response-header inspection, Telescope, or CDN analytics.
Evaluate only when all of these hold:
HttpCache/reverse proxy and need per-request visibility in dev or staging.Look elsewhere when:
FOSHttpCache and Symfony's own HttpCache documentation are the live references.To executives: This is not a strategic dependency and should not enter the production stack. It is a small, archived, MIT-licensed Symfony bundle that exposes HTTP cache behavior in the developer profiler. Its value is decision support: it tells us quickly whether our caching layer works and which endpoints are safely cacheable, informing roadmap choices about CDN and edge-caching investment. It is also a cheap scoping artifact for a first-party alternative. Recommendation: treat it as a read-once reference, budget roughly two engineer-days to replicate the useful part internally if the diagnostic need is confirmed, and do not count on upstream maintenance or security patching.
To engineering: Archived, one star, zero dependents — no support, no patches, and it is a Symfony bundle, so it does not apply to our Laravel services as a dependency. Skim it for the data-collector and header-mapping pattern, then reimplement the handful of lines that surface cache hit/miss and cacheability: a terminable middleware writing X-Cache-Status / X-Cache-Key / X-Cache-TTL, gated to non-production, failing open so diagnostics never 500 a request. Constrain it so diagnostic headers cannot be cached at the edge or leak cache keys on public responses (Cache-Control: no-store, internal traffic only). Prefer existing observability — APM, CDN logs, FOSHttpCache on the Symfony side — for anything we intend to rely on. Sequence it as a short spike behind a flag, with a security review on header exposure before it ships anywhere shared.
How can I help you explore Laravel packages today?