How to purge the cache when new post is published
-
Hi there,
This is a great plugin! I’m using wp_cache_set & wp_cache_get to cache the results of many complex queries on my site. The only problem is that this data is not refreshed when new posts are published.I am setting the cache with a 300 second expiry, but even after 300 seconds it doesn’t seem to be deleted. The only option seems to be to purge the cache from within the plugin options.
Is there any way to automatically clear the cache every time a new post is published, the way it’s done in WP Super Cache?
Thanks!
Dalton
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to purge the cache when new post is published’ is closed to new replies.