Skip to content

IServedEncodingOptions

readonly optional allowedIncludes?: readonly string[]

Files the configuration may include, each once and outside every block. List only a file that holds nothing about compression (a generated map, say): its directives are not read. Defaults to none.


readonly optional mimeTypes?: Readonly<Record<string, string>>

The Content-Type of each extension a budget weighs. Defaults to SERVED_MIME_TYPES.


readonly optional typesLocations?: readonly string[]

Block heads that may hold one types block (location = /feed.xml). A types block changes the Content-Type of files, and with it which are compressed, so list only a location no budgeted file is served from. Defaults to none.