-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Motivation
Last March 2024, Google added support for Zstandard in Chrome version 123, allowing this algorithm to be used in the HTTP Content-Encoding header. This implementation allows for more efficient data compression, which results in web pages that load faster, use less bandwidth, require less time, less CPU and less compression time for servers, thus also reducing costs operational.
Source: https://www.managedserver.eu/zstd-officially-arrives-on-chrome-as-a-resource-compression-algorithm/
Although Zstandard is in most cases more efficient than Brotli, Zstandard is not currently supported by Safari and - at the highest compression level - Brotli produces smaller files than Zstandard. As browsers negotiate which format to use according to their capabilities, we propose adding support for both formats to PHP.
Source: https://wiki.php.net/rfc/modern_compression
- Test https://github.com/kjdev/php-ext-zstd
- Create implementation and tests
- Pack into a feature release