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

Create documentation explaining how to shrink web GL projects #1681

Open
vchelaru opened this issue Jan 27, 2025 · 1 comment
Open

Create documentation explaining how to shrink web GL projects #1681

vchelaru opened this issue Jan 27, 2025 · 1 comment

Comments

@vchelaru
Copy link
Owner

nkast says:

Inside the _framework folder there are .gz and .br files. Those are the compressed versions of the .wasm & .js files.
If poki serves static files, you have two options:

  1. delete the .gz and .br files.
  2. set enableBrotliCompression in index.html and delete the .gz and .wasm files.

If you host on a dot.net server, you can copy the wwwroot along with the generated webconfig. This will stream the precompressed files if the client support gzip or brotli compressed content.

@vchelaru
Copy link
Owner Author

Joaquiinm said:

Ah, okay so when you did that, it made the template be 3mb?
joaquiinm — Today at 1:54 PM
yep
zipped

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