Describe the bug
I use CefResourceHandler to intercept url requests. In the response header, I include content-type: gizp and content-length, but it seems that CEF cannot decompress it.
I've confirmed that the result of gzip compression is correct:
Expected behavior
CEF is expected to correctly decompress gzip information.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
OS: Windows 10
CEF Version: 109.1.18.2719
Additional context
I use gzip compression to solve the problem of slow files returned by cef. I have observed that css files returned using CefResourceHandler are much slower than js files of similar size:
There is no benefit to using compression for response contents that are not actually passing over a network. Otherwise, you're adding additional compute time (to compress/decompress) with no benefit.
Describe the bug I use CefResourceHandler to intercept url requests. In the response header, I include content-type: gizp and content-length, but it seems that CEF cannot decompress it.
I've confirmed that the result of gzip compression is correct:
Example code:
Expected behavior CEF is expected to correctly decompress gzip information.
Screenshots If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Additional context I use gzip compression to solve the problem of slow files returned by cef. I have observed that css files returned using CefResourceHandler are much slower than js files of similar size: