CodeSleeve / asset-pipeline

This Laravel 4 package provides a very simple and easy to use asset pipeline. It was heavily inspired by the Rails asset pipeline. We make use of the wonderful Assetic package to help with pre-compliation!
http://www.codesleeve.com
MIT License
489 stars 53 forks source link

Specify a Last-Modified header for assets #171

Open dwightwatson opened 10 years ago

dwightwatson commented 10 years ago

To improve the efficiency of refreshing assets, the Last-Modified header should be sent back with the asset. Here is the gist from Pingdom:

The following resources are missing a cache validator. 
Resources that do not specify a cache validator cannot be refreshed efficiently. 
Specify a Last-Modified or ETag header to enable cache validation for the following resources.