method
expires_now
v8.1.1 -
Show latest stable
- Class:
ActionController::ConditionalGet
expires_now()public
Sets an HTTP 1.1 `Cache-Control` header of `no-cache`. This means the resource will be marked as stale, so clients must always revalidate. Intermediate/browser caches may still store the asset.