Skip to content

GzipHeaderOptions

Defined in: next/api.d.ts:71

The fields of the gzip header that CompressOptions.gzipHeader sets.

optional filename?: string

Defined in: next/api.d.ts:77

The original name of the file. It must not contain NUL characters and must be at most 65535 bytes long in UTF-8. By default the header has no name.


optional mtime?: number

Defined in: next/api.d.ts:82

The modification time, in seconds since the Unix epoch: an integer from 0 to 4294967295. 0, the default, means that there is none.