adsazad/symfony-etagging
Symfony bundle that adds easy ETag support to any Response. Inject EtaggingInterface and wrap rendered responses with etagResponse() to enable caching/conditional requests. Supports custom headers plus configurable max-age and shared max-age.
Cache-Control: no-cache).ETag/If-None-Match headers."This lightweight Symfony bundle automates HTTP ETags to slash redundant data transfers, cutting server costs and speeding up page loads—critical for user retention and SEO. For example, a 1-day cache on static assets could reduce our API calls by ~30% with minimal dev effort. It’s a no-code performance boost for our existing stack."
Ask: "Would you prioritize a 10–20% improvement in load times for high-traffic pages?"
*"This package wraps Symfony’s EtaggingInterface to add ETag/Cache-Control headers with one line of code. Key benefits:
render() with etagResponse()).X-Cache-Key) before ETagging.Response objects (tested in Laravel via Symfony Bridge).Trade-offs:
Proposal: Pilot on low-risk endpoints (e.g., /about) to measure cache hit rates before rolling out to critical paths."*
Ask: "Should we integrate this as a middleware for all render() calls, or start with high-value routes?"
How can I help you explore Laravel packages today?