preCompressed

Enables pre-compressed files or resources.

For example, for static files, by setting preCompressed(CompressedFileType.BROTLI), the local file /foo/bar.js.br can be found at "/foo/bar.js"

Appropriate headers will be set and compression will be suppressed if pre-compressed file is found.

The order in types is important. It will determine the priority of serving one versus serving another.