Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpKernel] HttpCache Store cache key algorithm speed improvement #46893

Closed
@pascalwoerde

Description

@pascalwoerde

Description

Description

The current store generates a sha256 cache key for every item. For a few requests this is fine. In particular when many requests are executed in a process, we can easily improve the total execution time by replacing this with a faster algorithm.

Possible Solution

https://github.com/symfony/http-kernel/blob/6.1/HttpCache/Store.php#L229

Replace sha256 with xxh3

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions