Skip to content

Add ZStandard #7

@thekid

Description

@thekid

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


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions