class Sprockets::Environment

def build_asset(path, pathname, options)

Cache asset building in persisted cache.
def build_asset(path, pathname, options)
  # Persisted cache
  cache_asset(pathname.to_s) do
    super
  end
end