Module Sprockets::Caching
In: lib/sprockets/caching.rb

`Caching` is an internal mixin whose public methods are exposed on the `Environment` and `Index` classes.

Methods

Protected Instance methods

Cache helper method. Takes a `path` argument which maybe a logical path or fully expanded path. The `&block` is passed for finding and building the asset if its not in cache.

[Validate]