caching - How to cache compiled Rails assets between continuous integration builds? -


i attempting speed automated build process rails app.

currently big chunk of time spent compiling sass/coffeescript assets while running capybara feature specs.

i'm wondering if knows of way carry on these compiled assets between builds, if nothing has changed.

i've been digging precompiling assets in rails, i'm having hard time figuring out how determines when needs recompiled. know sprockets stores cached versions inside of tmp/assets, again i'm not sure how decides when reuse these.

ideally able save compiled version of these assets somewhere, restore them during next build, , when rails runs specs in build know doesn't need recompile these assets, use ones have restored.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -