Gzip on firebase hosting on/off ?!
See original GitHub issueGood afternoon, I’m facing a strange problem.
I’m making a personal website, and I’m using firebase tools and also deploying this site on the firebase hosting. For that I have 3 projects
"projects": { "default": "kate-photo-site", "staging": "katia-898f2", "production": "kates-eye" }
One day after deploying a new version , I noticed that the page opens much more longer than usual. Website based on Nuxt framework and using Webpack, so after every build process I see the size of any of generated files, and it remains the same (it’s about 407kb for vendor.app.js for ex.). However, earlier the browser received a compressed file, which had a size of 114 kb, and now uncompressed, whose weight is 400+ kb.
And at the same time, when I publish the same code on another project, everything is fine!
I started looking into the browser console, and found the difference. The code is really not compressed, and is given by a server called “Google Frontend” whereas in another project, the files are given by the nginx servers and the files are compressed! _Console - Network - vendors.app.js - Headers: for : https://kates-eye.firebaseapp.com/
- content-encoding: gzip
- content-length: 116842
- server: nginx
and
for : https://kate-photo-site.firebaseapp.com/
- content-length: 456081
- server: Google Frontend
For example the resource size for vendors.app.js is the same = 445kb!
I don’t have any explanation why it happens, maybe you could find something for me? Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
We are in the process of rolling out some new infrastructure, and this might be a bug. The rollout is applied randomly to a subset of hostnames on Firebase Hosting, so that likely explains the discrepancy. We will investigate the underlying issue.
On Sun, Aug 18, 2019, 10:52 AM olegpopovskiy notifications@github.com wrote:
We’re experiencing this issue also.