-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Zstd compressed static files (#52)
Allow serving Zstd compressed files with the `.zst` extension. The example has not been adjusted yet, because the SDK's supported CompressionFormats do not yet include zstd. However, static files compressed by other means (external tools) still work. Rationale: [Chrome 123 added zstd Content-Encoding support behind a feature flag `enable-zstd-content-encoding`](https://chromestatus.com/feature/6186023867908096), and [Mozilla has committed to implementing it in Firefox as well](mozilla/standards-positions#775). Co-authored-by: Jeremy Kescher <jeremy.kescher@timetoact.at>
- Loading branch information
1 parent
f2c05fd
commit c15055f
Showing
4 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters