Way to reduce compression on duplicate server messages
Open
Feature
- Dominant language
- C++
- Stars
- 4.8k
- Forks
- 694
- Avg merge
- 12h 48m
- Merged PRs (30d)
- 1
Description
### Version of Beast
266
### Steps necessary to reproduce the problem
### All relevant compiler information
Hi, as a Websocket server, there is need to publish large amount of the same messages to different clients. If we use permessage-deflate option, based on current Beast APIs there is no way to avoid repeatedly compressing the same messages at server side. Is it possible that Beast expose some APIs to allow server to cache/fetch compressed messages? or is there any other better way to handle it?
Contributor guide
Assessment
This issue has not been assessed yet.