Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleezpublish.yml
ezpublish:
    stash_cache:
        igbinary: true/false
        lzf: true/false
  • `ezpublishezpublish.stash_cache.igbinary` igbinary enables you to use the igbinary PHP extension to serialize objects stored in cache.
    • Recommended enabled in most use cases.
  • `ezpublishezpublish.stash_cache.lzf` lzf enables you to use the LZF PHP extension to compress serialized objects stored in cache.
    • Compression consumes some more CPU, . A scenario where it improves overall performance is when limited by redis Redis memory and/or network bandwidth is limited, with spare CPU capacity on PHP server. 

...

These options in combination results in around 1/2 memory usage for API caching compared to not being enabled, igbinary accounts for ~75% of that and LZF the remaining ~25% when configured for max compression.

After changing these settings you need to clear cache and purge Redis content .