wp_cache_* for Developers: Writing Code That Flies with Redis
Learn how to use WordPress's object cache API correctly so your plugin or theme code speeds up automatically the moment a persistent cache like Redis appears.
All posts in this stream, newest first.
Learn how to use WordPress's object cache API correctly so your plugin or theme code speeds up automatically the moment a persistent cache like Redis appears.
The WordPress object cache disappears on every page load unless you back it with Redis. Here is what it actually stores, why database-heavy sites suffer without it, and how to wire it up correctly.