Variants
Get variants setting
Change variants setting
Delete variants setting
ModelsExpand Collapse
class CacheVariant: …Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.
Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.
class VariantGetResponse: …
value: ValueValue of the zone setting.
Value of the zone setting.
List of strings with the MIME types of all the variants that should be served for avif.
List of strings with the MIME types of all the variants that should be served for bmp.
List of strings with the MIME types of all the variants that should be served for gif.
List of strings with the MIME types of all the variants that should be served for jp2.
List of strings with the MIME types of all the variants that should be served for jpeg.
List of strings with the MIME types of all the variants that should be served for jpg.
List of strings with the MIME types of all the variants that should be served for jpg2.
List of strings with the MIME types of all the variants that should be served for png.
List of strings with the MIME types of all the variants that should be served for tif.
class VariantEditResponse: …
value: ValueValue of the zone setting.
Value of the zone setting.
List of strings with the MIME types of all the variants that should be served for avif.
List of strings with the MIME types of all the variants that should be served for bmp.
List of strings with the MIME types of all the variants that should be served for gif.
List of strings with the MIME types of all the variants that should be served for jp2.
List of strings with the MIME types of all the variants that should be served for jpeg.
List of strings with the MIME types of all the variants that should be served for jpg.
List of strings with the MIME types of all the variants that should be served for jpg2.
List of strings with the MIME types of all the variants that should be served for png.
List of strings with the MIME types of all the variants that should be served for tif.