Skip to content

Conversation

@tieniber
Copy link
Member

A customer noted that the sqlite wasm file used for PWAs is not gzipped.

Add application/wasm to gzip_types in nginx.conf.j2

A customer noted that the sqlite wasm file used for PWAs is not gzipped.

Add application/wasm to gzip_types in nginx.conf.j2
@Robinfr
Copy link
Contributor

Robinfr commented Mar 17, 2025

@tieniber This also requires changes to the mime types: https://github.com/mendix/cf-mendix-buildpack/blob/master/etc/nginx/conf/mime.types since the .wasm file is not registered there.

It would also be good to register the .mjs file under the mime-types since that accompanies the .wasm file, and by registering that, it would also automatically get gzipped.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants