You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I load a basic shiny app w/ the cache disable, the download size for shiny.js is ~1 MB
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.
No reason why we shouldn't be shipping shiny.min.js instead of shiny.js.
Pre-compressing the files would be a new concept for the project. https://caniuse.com/brotli shows wide adoption of brotli. So it seems like a fair idea!
(We can not combine JS/CSS output files as html-dependencies could be overruled by another html-dependency definition. )
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 MBThe 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
The text was updated successfully, but these errors were encountered: