stale?(record_or_options, additional_options = {})
Instance Public methods
Sets the etag and/or last_modified on the
response and checks it against the client request. If the request
doesn't match the options provided, the request is considered stale and
should be generated from scratch. Otherwise, it's fresh and we
don't need to generate anything and a reply of 304 Not
Modified is sent.
Parameters:
:etag.
:last_modified.
:public By default the Cache-Control header is private,