Forum: Ruby on Rails Conditionally cache files in Rails asset pipeline

851cc218daf9db8c06cbb7754bc768a1?d=identicon&s=25 Bryan Migliorisi (Guest)
on 2013-06-20 00:33
(Received via mailing list)
We have a custom preprocessor that we've injected into the asset
which preprocesses specific filetypes successfully.

The problem is that our preprocessor will generate content dynamically
these precompiled assets should not be cached.

I am looking for a way to prevent *.myfiletype from ending up in the
cache and always being preprocessed.

(This is only a development thing and in production should work like


Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.