f_roepstorf/static-cache-buster
A Laravel package that busts browser and CDN caches for static assets by appending versioned query strings or hashes, ensuring updated CSS, JS, and images load immediately after deployment without manual cache clearing.
Consider it when:
Look elsewhere when:
Verdict to carry into the decision: pilot on one site, pinned and monitored; do not standardize without a named internal owner.
For executives: A small, MIT-licensed add-on for our Statamic CMS that removes a specific, recurring failure mode — pages being slow or erroring for real visitors right after content is published or a deploy lands. Cost is a few hours of engineering; exit cost is near zero because the license lets us fork or drop it. Recommendation: time-boxed pilot on one property with a clear success metric (TTFB p95 after publish), not a platform-wide commitment.
For engineering: It hooks into the static-cache lifecycle and pre-warms pages so the first real request isn't the one paying the generation cost — i.e., it turns cache invalidation from a "visitor absorbs the cost" event into a "system absorbs the cost" event. Adoption is a Composer require plus wiring it to publish/deploy events; it fits existing Laravel scheduling and queue patterns. Caveats we're accepting knowingly: single maintainer, no dependents, one release — so we pin the version, add integration tests around publish-to-warm, alert on cache hit ratio regressions, and keep a fork path open. If it doesn't hold up in the pilot, replacing it is a same-sprint task, not a project.
How can I help you explore Laravel packages today?