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

go-app can be served from Gitlab Pages, how about pre-compressed wasm? #866

Closed
suntong opened this issue Aug 11, 2023 · 2 comments
Closed

Comments

@suntong
Copy link

suntong commented Aug 11, 2023

As per
https://github.com/orgs/community/discussions/21655#discussioncomment-3234045

you can serve pre-compressed brotli assets from Gitlab Pages

but his prepared demo site is gone.

Can someone try to make brotli / gzip pre-compressed wasm works in Gitlab Pages please?

@suntong
Copy link
Author

suntong commented Aug 11, 2023

Reposting from https://stackoverflow.com/a/34636569/2125837 --

Github pages is already gziping html, css, js, json,... It's useless to try to do better by gziping json yourself.

A 1.3M json is sent as 357KB one by github pages. See here and click on "load json" link.

Proof:

image

However, I'm just unable to verify if wasm get gzipped on-the-fly:

image

@suntong
Copy link
Author

suntong commented Aug 11, 2023

Oh, it is,

image

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