Skip to content

Commit

Permalink
Added zst to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AnderssonPeter committed Mar 23, 2024
1 parent a0fdef8 commit 6764afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ This project allows you to serve precompressed files to the browser without havi
## Getting Started

### Precompress content
Static nonimage files have to be precompressed using [Zopfli](https://en.wikipedia.org/wiki/Zopfli) and/or [Brotli](https://en.wikipedia.org/wiki/Brotli), see the example for how to do it with gulp.
The files must have the exact same filename as the source + `.br` or `.gzip` (`index.html` would be `index.html.br` for the Brotli version).
Static nonimage files have to be precompressed using [Zopfli](https://en.wikipedia.org/wiki/Zopfli), [Brotli](https://en.wikipedia.org/wiki/Brotli) and/or [ZStandard](https://en.wikipedia.org/wiki/Zstd), see the example for how to do it with gulp.
The files must have the exact same filename as the source + `.br` or `.gzip` (`index.html` would be `index.html.br` for the Brotli version and `index.html.zst` for Zstandard).

### Encode images
Modern browsers support new image formats like webp and avif they can store more pixels per byte.
Expand Down

0 comments on commit 6764afc

Please sign in to comment.