- Issue created by @Chi
- π·πΊRussia Chi
I did some benchmarking locally. Getting cached items back is almost instance when using VarExporter.
Here are some results of profiling Drupal site with
cache.container
implemented withPhpBackend
Here are the results:
For local Drupal 11 installation the performance boost was about 5-10% for anonymous visitors.
- π·πΊRussia Chi
Relevant conversation: https://www.reddit.com/r/PHP/comments/vlyw1g/benchmarking_serialization/
- π·πΊRussia Chi
Wonder if it's better to create a new cache backend.
- Merge request !10257#3488360: Use VarExporter to encode cached data in PhpBackend β (Open) created by Chi
- πΊπΈUnited States smustgrave
@chi mind updating MR to point to 11.x vs 11.1.x
Also would see if answering some of the questions from https://www.drupal.org/about/core/policies/core-dependency-policies/depe... β into the issue summary could help move this along.