Jamstack files compression/minification #2767
aoudiamoncef
started this conversation in
Smart contract engine
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Actually, we are taking a zip archive of html/css/js files and convert all to webassembly then store the result on chain.
.wasm files are heavier than minified Jamstack files.
When serving Jamstack files we could use a high level of compression with Brotli instead of GZIP. It's could improve bandwidth usage.
links:
https://stackoverflow.com/questions/56084360/is-there-a-performance-benefit-to-shipping-web-assembly-vs-minified-javascript
https://github.com/wilsonzlin/minify-html
https://wp-rocket.me/blog/brotli-vs-gzip-compression/
https://dropbox.tech/infrastructure/-broccoli--syncing-faster-by-syncing-less
https://github.com/dropbox/rust-brotli
Beta Was this translation helpful? Give feedback.
All reactions