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

ClientCache for 304 Not Modified status #174

Open andreioxior opened 10 years ago

andreioxior commented 10 years ago

Hi,

How can I use the ClientCacheFilter? I tried to change my environment to production but still no caching is done. $_SERVER['HTTP_IF_MODIFIED_SINCE'] is always 0 even though I have added the mod_expire and mod_header.

Thanks

mcblum commented 10 years ago

Me too. As dumb as this sounds given what a simple question it is to answer typically, I have the correct stuff in my htaccess and almost all other files are showing status '304' but not aplication.js or aplication.css. Also I've added 'production' to the cache array.

Any ideas people?

Thank you! Matt