module Roda::RodaPlugins::Caching::ResponseMethods
def expires(max_age, opts=OPTS)
cached for. Also sets the Expires header, useful if you have
be an integer number of seconds that the current request should be
Set Cache-Control header with the max_age given. max_age should
def expires(max_age, opts=OPTS) cache_control(Hash[opts].merge!(:max_age=>max_age)) self[EXPIRES] = (Time.now + max_age).httpdate end