Home Forums General Issues Why does add_field always clear the cache? Reply To: Why does add_field always clear the cache?

  • I am just using the standard memcache plugin and elasticache cluster in AWS. Nothing special about it. When using memcache, calls to the wp_cache_* functions are stored in a persistent object cache called memcache. Persistent object cache are used to speed up sites, because values like queries, meta and objects are stored and kept in between sessions.

    When looking through my new relic data I notice an extremely high number call to the wp_cache_delete function. This is account for around 11.2% of page load. On a high traffic site (multiple million a day), it account for a lot of computing power wasted.

    I want to get a deeper understanding of the reasoning behind this move and see if they plugin was tested using a persistent object cache.