Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[autodoc] data.js served without compression, wasting ~22MB of bandwidth #214

Open
Ristovski opened this issue Aug 12, 2022 · 0 comments
Open

Comments

@Ristovski
Copy link

It appears that data.js does not get compressed like the other assets:

main.js:
curl -sILH 'Accept-Encoding: gzip,deflate,br' https://ziglang.org/documentation/master/std/main.js -> content-encoding: gzip, looks good

data.js:
curl -sILH 'Accept-Encoding: gzip,deflate,br' https://ziglang.org/documentation/master/std/data.js -> no content-encoding header present, gets sent uncompressed.

The file size of data.js is 23.9MB, after gzipping its size is reduced down to 1.9MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant