Sha256: 8ed0147652cfb225ba2411a9f54342db6eb2da2a4fc8ec32ca628b441a8d3cd1
Contents?: true
Size: 260 Bytes
Versions: 29
Compression:
Stored size: 260 Bytes
Contents
module Scrivito class CacheMiddleware def initialize(app) @app = app end def call(env) CmsBackend.instance.begin_caching @app.call(env) ensure CmsBackend.instance.end_caching Workspace.cache.clear end end end # module Scrivito
Version data entries
29 entries across 29 versions & 1 rubygems