Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.data is returned without compression #52

Open
sqdbruh opened this issue Jul 8, 2024 · 0 comments
Open

.data is returned without compression #52

sqdbruh opened this issue Jul 8, 2024 · 0 comments

Comments

@sqdbruh
Copy link

sqdbruh commented Jul 8, 2024

Hi, I followed the documentation instructions but went a bit further. I needed to enable file compression. I built the files in Unity with CompressionFormat: None and then compressed the files in the Build directory myself using gzipper into br and gz formats. I uploaded all these files to the hosting (original, .gz, .br).

The browser requests the files with Accept-Encoding: gzip, deflate, br, zstd, and your hosting does return the files in the correct format, except for the .data file. Only the .data file is returned without compression. The screenshot below shows that the Content-Encoding for .wasm, .framework.js, .loader.js is br, but .data has no encoding. Can you explain why this is happening?

image

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

No branches or pull requests

1 participant