module Rack::Response::Helpers

def do_not_cache!

Specifies that the content shouldn't be cached. Overrides `cache!` if already called.
def do_not_cache!
  set_header CACHE_CONTROL, "no-cache, must-revalidate"
  set_header EXPIRES, Time.now.httpdate
end