ndbroadbent / turbo-sprockets-rails3

Speeds up your Rails 3 assets:precompile by only recompiling changed files, and only compiling once to generate all assets
MIT License
974 stars 75 forks source link

Difference between turbo-sprockets-rails3 and config.assets.cache_store #107

Open kbaum opened 9 years ago

kbaum commented 9 years ago

We are on Heroku with rails 3.2.X and i started trying to use redis as an asset cache.

config.assets.cache_store = :redis_store, { url:  ENV['REDIS_ASSET_CACHE_URL'],
  namespace: 'assets'
}

Sometimes it uses the cached assets within redis on deployment and sometimes it seems to recompile everything. I had removed turbo-sprokets-rails3 thinking that i do not need it with the above configuration but now i am doubting myself. Is turbo-sprockets-rails3 needed in addition to asset.cache_store?

thx!

-karl