Support » Plugin: WP Redis » What exactly does it cache?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    WP Redis acts as a drop-in replacement to the WP_Object_Cache object. When enabled, any cache data stored with wp_cache_set() will end up in the Redis persistent object cache.

    WordPress core stores some data in the object cache by default, but not a lot. WordPress does not store WP_Query objects in the object cache because correctly invalidating the object cache is a challenging task. If you’re willing to accept its imperfections, Advanced Post Cache is used on WordPress.com to cache WP_Query.

    Alternatively, here’s a thorough overview of how you can implement custom object caching in your code.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What exactly does it cache?’ is closed to new replies.