jeroenvdheuve/assetic-cache-busting-worker
A PHP worker for Assetic that adds cache-busting to asset URLs by appending content-based versions or hashes. Helps prevent stale browser caches after deployments by keeping generated asset references in sync with compiled files.
Cache-Control headers. If your portfolio contains such apps, this is a trigger to scope a migration rather than a component to add.composer.json during technical due diligence, treat it as a marker of an unmaintained front-end build chain and price the remediation accordingly.Consider it only under a narrow, uncomfortable set of conditions:
Look elsewhere, decisively, if any of following is true (which covers essentially all greenfield and most brownfield work):
filemtime()-based query strings or a hash-manifest helper are lower-risk than resurrecting an abandoned pipeline.For executives (one paragraph): We evaluated jeroenvdheuve/assetic-cache-busting-worker, a small MIT-licensed utility for versioning compiled front-end assets so browsers and CDNs can cache them safely. The underlying business need — reliable cache busting for performance and deploy safety — is real, but this specific package is not the answer: it was last released in 2015, is formally archived, and has no users, maintainers, or dependents. Adopting it would mean owning abandoned code. The recommendation is to treat its presence in our estate as a modernization signal and fund a migration of affected apps to a supported build tool (Vite or Laravel Mix) rather than adding this dependency. Cost of inaction is bounded — legacy apps keep working — but it grows with every framework upgrade.
For engineering leads: Do not add this to composer.json. It is a read-only reference for how Assetic cache busting was wired in the Laravel 4 era. If a legacy service genuinely cannot move off Assetic this quarter, vendor the worker in-tree, add tests, pin it to your own fork, and open a migration ticket with an owner and a date. Otherwise standardize on Vite (laravel-vite-plugin) or Mix with a hash manifest, and use this package's approach only as a sanity check that versioned filenames and manifest lookups behave as expected. Flag any occurrence in inherited codebases as a debt item in the next planning cycle.
How can I help you explore Laravel packages today?