A persistent object cache is not a panacea

It’s important to note that a persistent object cache isn’t a panacea – a page load with 2,000 Redis calls can be 2 full seconds of object cache transactions. Make sure you use the object cache wisely: keep to a sensible number of keys, don’t store a huge amount of data on each key, and avoid stampeding frontend writes and deletes.

[…]

If a plugin you’re using is erroneously creating a huge number of cache keys, you might be able to mitigate the problem by disabling cache persistency for the plugin’s group.

Explain that a persistent object cache isn’t a panacea (#97) – WP Redis

Leave a Reply

Your email address will not be published. Required fields are marked *