module CacheBack
  class RackMiddleware
    def initialize(app)
      @app = app
    end

    def call(env)
      result = @app.call(env)
      CacheBack.cache.reset!
      result
    end
  end
end
Revert "removing unused rack middleware"
Revert "removing unused rack middleware"

This reverts commit 4676a0c0606a3a506b432c3fa8f56787bb972579.
