IServedEncodingOptions
Properties
Section titled “Properties”allowedIncludes?
Section titled “allowedIncludes?”
readonlyoptionalallowedIncludes?: readonlystring[]
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.
mimeTypes?
Section titled “mimeTypes?”
readonlyoptionalmimeTypes?:Readonly<Record<string,string>>
The Content-Type of each extension a budget weighs. Defaults to SERVED_MIME_TYPES.
typesLocations?
Section titled “typesLocations?”
readonlyoptionaltypesLocations?: readonlystring[]
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.