Skip to content

Suggested steps for Brotli compression do not work #19938

@mrpmorris

Description

@mrpmorris

The #compression section of the page says to use decode.min.js from here https://github.com/google/brotli/tree/master/js

But when I follow those steps I see the following error

	Uncaught (in promise) TypeError: BrotliDecode is not a function

On the following line in index.html

	const decompressedResponseArray = BrotliDecode(originalResponseArray);

Using decode.js instead works fine.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions