Documentation unclear: compression
メンテナーはふだん 1 日以内に返信
@seshadhri-aswath がすでに取り組んでいます。
2025年8月18日 から。
評価
この issue はまだ評価されていません。
説明
Hi,
I have a few issues with the compression documentation.
It was outlined here: https://openliberty.io/blog/2020/04/22/http-response-compression.html
The actual docs I am referring to: https://openliberty.io/docs/latest/reference/config/compression.html
Here are some enhancements I would like to suggest:
Compression algorithm
currently, we have support for:
- gzip,
- x-gzip,
- deflate,
- zlib,
- identity
Update wish / recommendation
- Please explain each item (I thought deflate is the algorithm used in gz?).
- Mention identity equals no-compression
- Mention zlib is hardly supported by browsers
- Mention zlib has AIX hardware support (has it?)
Future perspective: brotli, lz4 and zstd
Modern browsers will send: Accept-Encoding: gzip, deflate, br, zstd (Firefox, Edge, others).
Please document the small overlap and maybe reference wishlist issues / github RFE issues for br (brotli) and zstd (and maybe lz4).
serverPreferredAlgorithm
This is an attribute, interestingly. Make that information stand out, maybe add an example. Usually server.xml uses tags only, so this is somewhat unexpected.
Luckily, <config onError="fail" /> will make the startup fail.
types
Invalid tags won't fail the start
<config onError="fail" /> will NOT make the startup fail if you accidentally use <type> instead of <types>.
Please mention this explicitly (and why it DOES fail for <serverPreferredAlgorithm>, see above section).
Give examples of configurations
Give an example snipped for the default configuration
combination of no prefix, + and -
What happens if you combine those?
<compression>
<types>text/plain</types>
<types>+text/*</types>
<types>-text/xml</types>
</compression>
What would be the outcome? What takes precedence? What about other combinations?
minGzipSize
This option is not documented
Thanks!
- 主要言語
- 言語のデータがありません
- スター
- 14
- フォーク
- 58
- 平均マージ
- 1時間 4分
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenLiberty/docs のほかの issue
-
source mismatchオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenLiberty/docs#8579 ·
メンテナーはふだん 1 日以内に返信
-
Jandex extended pathオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
OpenLiberty/docs#8451 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CVE update for 26.0.0.10対応中かも @ramkumar-k-9286 が 19 日前に担当しました。 オープン26.0.0.10 Developer reviewed
OpenLiberty/docs#8563 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
26.0.0.11
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
OpenLiberty/docs#8548 ·
メンテナーはふだん 1 日以内に返信
-
26.0.0.12
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
OpenLiberty/docs#8529 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信