edgecase / dieter

Asset pipeline ring middleware
134 stars 22 forks source link

I believe there is a bug in dieter's caching of compiled assets #17

Closed pbiggar closed 12 years ago

pbiggar commented 12 years ago

I havent investigated this fully yet, but our web logs show that even days after being compiled, assets are still taking 20 seconds to be served, implying that dieter is recompiling them in each request.

jxa commented 12 years ago

Are you using the link-to-asset helper to generate your paths? Please update with details of cache failures.

pbiggar commented 12 years ago

I looked into this, and I believe I was wrong the first time. I see a lot of recompilation, but I think that's because we deploy so much. I think lein dieter-precompile is the solution.