Gzip

Gzip configuration allows you to choose resources to automatically compress.

Data model

cache_conditionStringThe CACHE condition controlling when this gzip configuration applies. This field is optional.
content_typesStringSpace-separated list of content types to compress. If you omit this field a default list will be used.
extensionsStringSpace-separated list of file extensions to compress. If you omit this field a default list will be used.
nameStringThe name of the gzip configuration.
service_idStringThe alphanumeric string identifying a service.
versionIntegerThe current version of a service.

Endpoints

List gzip configurations

GET/service/service_id/version/version/gzip

Get a gzip configuration

GET/service/service_id/version/version/gzip/name

Create a gzip configuration

POST/service/service_id/version/version/gzip

Update a gzip configuration

PUT/service/service_id/version/version/gzip/old_name

Delete a gzip configuration

DELETE/service/service_id/version/version/gzip/name

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.