Re: [Rails] Does the asset pipeline (RoR 3.1) waste cycles?

2011-07-03 Thread Dieter Lunn
In a development environment it recompiles the assets on every request. When in production it does it once and adds a hash to the filename for caching. Dieter Lunn http://ubiety.ca On Sun, Jul 3, 2011 at 11:15 AM, Jeff Pickhardt wrote: > With the Ruby on Rails asset pipeline in RoR 3.1, it's u

[Rails] Does the asset pipeline (RoR 3.1) waste cycles?

2011-07-03 Thread Jeff Pickhardt
With the Ruby on Rails asset pipeline in RoR 3.1, it's unclear if the .coffee and the //= require files get processed only once or with each asset request. For example, I have a file that looks like this: //= require source/main.js.coffee //= require source/second.js.coffee //= require source/thi