Skip to main content

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.

Status: Completed1 comment

Log in to comment and vote

Comments1

  • Tobias Lønnerød Madsen changed status to Completed
    Team•

    Nov 9

    Pinned

    This is fixed, thanks for reporting!