Brotli
Last updated
Was this helpful?
Last updated
Was this helpful?
The Brotli extension adds Brotli compression to your Wisej.NET applications (on both http and winsock communication). By default Wisej already all traffic including websockets with gzip. You can change this to Brotli to gain from a more efficient compression algorithm.
Add a new item of type Brotli to the existing Wisej.NET project:
For HTTP just look at the network using dev tools, and if it shows “br” in accept encoding then look at the size of the response with and without the brotli assembly.
For WebSocket you need to look at the “frames”. In Chrome use F12, in the Network make sure WS is selected, then click on the app.wx initial request, you should see “Frames”, select it and you should see all outgoing and incoming websocket messages. The compressed ones show as [Binary Frame]. Look at the size with and without the Brotli dll.
Find more information in our .