Topic: Sprocket: precompiled assets fingerprint inconsistency

Our Rails 3.2 application uses 4 different hosts as CDN. Upon deployment, we have a task that run assets:precompile on these 4 boxes. The problem we're facing is that the assets that are compiled have different fingerprints/digests. My understanding is that the fingerprints/digests are generated from the content of our assets file so they should be the same across different boxes. Does anyone know what the cause might be? Thanks,

Re: Sprocket: precompiled assets fingerprint inconsistency

I can't answer your question directly as I hven't a clue, however I can offer you an alternative and that is to use the asset host which is specificially intended to be used for your requirement
Read more about it here http://api.rubyonrails.org/classes/Acti … elper.html

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)