Skip to content

Add zstd content coding support to EncodedResourceResolver#36647

Open
making wants to merge 1 commit intospring-projects:mainfrom
making:feature/encoded-resource-resolver-zstd
Open

Add zstd content coding support to EncodedResourceResolver#36647
making wants to merge 1 commit intospring-projects:mainfrom
making:feature/encoded-resource-resolver-zstd

Conversation

@making
Copy link
Copy Markdown
Member

@making making commented Apr 13, 2026

Add zstd (Zstandard, RFC 8878) to the default content codings supported by EncodedResourceResolver in both Spring MVC and Spring WebFlux.

Add zstd (Zstandard, RFC 8878) to the default content codings supported
by EncodedResourceResolver in both Spring MVC and Spring WebFlux.

Signed-off-by: Toshiaki Maki <makingx@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 13, 2026
making added a commit to making/compression-maven-plugin that referenced this pull request Apr 13, 2026
Adds a third compression algorithm alongside Brotli and Gzip via the
zstd-jni library. Zstd is enabled by default at level 22 (maximum).
Spring Framework's EncodedResourceResolver does not yet serve .zst
files (spring-projects/spring-framework#36647), so users serving via
Spring's resource chain should set zstdEnabled=false until that change
is released.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
making added a commit to making/compression-maven-plugin that referenced this pull request Apr 13, 2026
Adds a third compression algorithm alongside Brotli and Gzip via the
zstd-jni library. Zstd is enabled by default at level 22 (maximum).
Spring Framework's EncodedResourceResolver does not yet serve .zst
files (spring-projects/spring-framework#36647), so users serving via
Spring's resource chain should set zstdEnabled=false until that change
is released.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants