boostorg / boostorg/beast

Way to reduce compression on duplicate server messages

Open
#1,756 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.