How to Enable Brotli compression?

0
0

Hello,

How to enable Brotli compression with Wisej and check if it woks properly or not.

Thank you.

 

  • You must to post comments
0
0

I added Wisej.Web.Ext.Brotli.dll to the project.
However, I can not see the br in the request header. It showed only gzip, deflated

I used Edge and Chrome with the latest wisej 2.2.21

I could not see the frames either.

 

 

 

 

 

  • Levie (ITG)
    Hi Tung, sorry for the delayed response. You can check the “Frames” section of the web socket connection in the Network panel. If the frame shows as “[Binary Frame]”, you’ll know it’s being used (for messages over 2k). You’ll only see the br heading for http requests.
  • You must to post comments
0
0

Hi Tung,

To utilize Brotli in your project, simply reference the DLL in your Wisej project and Wisej will automatically try to load it on startup.

In regards to verifying that it’s working, check out this post:

https://wisej.com/support/question/hi-how-to-know-if-brotli-is-working

You’ll want to look at the WebSocket connection under “Network” in the Developer Tools and verify that it has the proper “br” heading. Brotli will automatically compress all responses larger than 2048 (2mb).

 

If you have any questions about this, please let me know!

Best regards,

Levie

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.