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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
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


This topic is locked and can not be replied to.