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

Minify, compress, and possibly tree-shake assets #1843

Open
peekxc opened this issue Feb 5, 2025 · 0 comments
Open

Minify, compress, and possibly tree-shake assets #1843

peekxc opened this issue Feb 5, 2025 · 0 comments

Comments

@peekxc
Copy link

peekxc commented Feb 5, 2025

Possibly a generalization / duplicate of #1665

When I load a basic shiny app w/ the cache disable, the download size for shiny.js is ~1 MB

Image

The size of the minified file (shiny.min.js) shipped in the package is only 435 KB (though it is not loaded in the default app); a minified and Brotli-compressed version would be a mere 78 KB.

It would be nice if you fixed the include to the minified one, and perhaps consider pre-compressing all the js/css assets for speedy loading

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

No branches or pull requests

1 participant