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
491 stars 53 forks source link

scripts reloading everytime #148

Closed badpenguin closed 10 years ago

badpenguin commented 10 years ago

I'm testing asset-pipeline but i noticed the scripts application.js and .css get reloaded everytime from the server: the browser is not using its cached version, not the server is returning "304 Not Modified".

This is not good. Is it a setup problem of mine?

kdocki commented 10 years ago

You will have to turn caching on for your environment. Publish your config and add 'production' or whatever environment in your config => array()

kdocki commented 10 years ago

@badpenguin did you set the config option?

badpenguin commented 10 years ago

No sorry, i've dropped using Laravel, too much memory/filesystem for a simple app.