moonbase.js is served uncompressed (1.1 MB)
Hi
While checking some load times, I noticed that moonbase.js comes back uncompressed from CloudFront, even when the browser asks for gzip/br:
curl -s -o /dev/null -H "Accept-Encoding: br, gzip" -w "%{size_download} bytes\n" https://assets.moonbase.sh/storefront/latest/moonbase.js
1148691 bytes
I think turning on “Compress objects automatically” in CloudFront would take it down to ~220 KB (brotli), which could be a nice quick win for everyone’s storefronts, especially on mobile.
Log in to comment and vote
Comments1
Nov 9
PinnedThis is fixed, thanks for reporting!