Compress File Types

Category: Caching

Purpose: Defines the file formats that are eligible for edge server compression.

Edge server compression should only be defined by either Rules Engine or on the Compression page. Attempting to configure edge server compression through both Rules Engine and the Compression page will create an invalid configuration that will not be applied to your account. Furthermore, no additional configuration changes will be applied to your account until this conflict is resolved.

A file format can be specified using its media type (aka content type). Media type is platform-independent metadata that allows our servers to identify the file format of a particular asset. A list of common media types is provided below.

Media Type Description

text/plain

Plain text files

text/html

HTML files

text/css

Cascading Style Sheets (CSS)

application/x-javascript

JavaScript

application/javascript

JavaScript

Key information: