Exclude a page from redis cache
-
Hello, I tried to prevent the Quotes page content from being cached, but it doesn’t work in private browsers. The first product added never appears on the Quotes page — I have to add it a second time to make it visible.
add_action(‘wp’, function () {
global $post;if (is_page(17377)) { add_filter('redis_object_cache_enabled', '__return_false');}
});
Could you tell me please how can I deal with this ?
Thank you !
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.