-
Notifications
You must be signed in to change notification settings - Fork 36
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
JS bundle from CDN is not gzip encoded (most of the time) #1301
Comments
@bqbn is this something you could look into? |
Hmm, this is odd because I couldn't reproduce it using the provided command, I even tried this,
I then tried it using https://www.webpagetest.org/, and the result also indicates that that js file is zipped [1]. And configuration wise, the Cloudfront distribution for this site is configured with "Compress Objects Automatically" [2], which means when viewer requests include |
A couple minutes ago I saw your comment, ran the command, and verified that each response was indeed encoded. However, I just ran it again and now the responses are no longer encoded. I added a counter to be sure:
|
Weird. Now it's back to encoded again. We're tracking code-manager performance improvements in #1300 and it would be nice to figure out why the encoding intermittently fails. |
Describe the problem and steps to reproduce it:
What happened?
https://addons-code-manager.cdn.mozilla.net/static/js/2.74a45ad5.chunk.js
What did you expect to happen?
The bundle should be gzip encoded so that a smaller amount is transferred
Anything else we should know?
Here is how to reproduce an example request made by the browser:
Oddly, this sometimes returns a gzip encoded response but most of the time it does not.
I captured a log of responses (with headers) where only 2 out of 20 were gzip encoded.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: