The URL monitored by the customer: https://XXX.XXXXX.com/mobilebank/F6.html. The size is 1.8M in the browser, but the data monitored by Tingyun is only more than 100 KB. I want to ask why there is such a big difference between the data monitored by Tingyun products and the browser?
Compare the differences between browser and Tingyun access The large difference in the number of bytes is related to whether it is compressed, so check the HTTPRequest header and find that the Content-Encoding parameter supports gzip. Therefore, when listening to cloud monitoring, it may be downloaded in a compressed form. When we specify Content-Encoding not to transmit in compressed form, the Total Download Bytes is 1.8M.
It is gzip on chrome, why can it display 1.8M? We load and calculate based on the size of Element. In the browser, there is only one corresponding Element, and this Element is only 100Kb+, but the resource display is 1.8M, so we do not take this value.