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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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
pipeline
which preprocesses specific filetypes successfully.

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

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

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


Thanks

-Bryan
This topic is locked and can not be replied to.