class Sprockets::Index

def expire_index!

should bomb.
Index is immutable, any methods that try to clear the cache
def expire_index!
  raise TypeError, "can't modify immutable index"
end