Use Rack::Request in call to know request method.
Set cookie containing cache refresh timestamp for response.