abordage/laravel-last-modified
Laravel Last Modified adds automatic last-modified tracking to your Eloquent models, keeping timestamps in sync on create, update, and delete. Use it to power HTTP caching headers, sitemap dates, or "updated" badges with minimal setup and no extra tables.
Laravel Last Modified automatically attaches the Last-Modified HTTP header to your responses, derived from a model's updated_at timestamp or a custom date. This enables conditional requests and 304 Not Modified responses, reducing bandwidth and improving caching for browsers and proxies.
Last-Modified header from model timestampsHow can I help you explore Laravel packages today?