Cache policy for image preview page.
This policy rule denies caching of responses generated by the entity.image.preview route.
Hierarchy
- class \Drupal\image\PageCache\DenyPrivateImageStyleDownload implements ResponsePolicyInterface
File
- core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php, line 16
Namespace
Drupal\image\PageCache
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DenyPrivateImageStyleDownload::$routeMatch | protected | property | The current route match. |
DenyPrivateImageStyleDownload::check | public | function | Determines whether it is save to store a page in the cache. Overrides ResponsePolicyInterface::check |
DenyPrivateImageStyleDownload::__construct | public | function | Constructs a deny image preview page cache policy. |
ResponsePolicyInterface::DENY | constant | Deny storage of a page in the cache. |
Please login to continue.