• Hi,

    I’m using QuickCache Pro (http://www.websharks-inc.com/product/quick-cache/) as caching plugin, and I have to clear the cache (or let the system prune it) so the redirects start working.

    QuickCache can take advantage of “hooks” to fire a trigger to clear the cache. For example, when a post is updated/created.

    Do you “offer” a hook, that I can use to force the cache to be cleared?

    For example, this is the code I use to force clearing the cache when a post is updated/create:

    add_action( ‘save_post’, ‘my_custom_clear_cache’, 10, 1 );

    function my_custom_clear_cache( ) {
    $GLOBALS[‘quick_cache’]->clear_cache();
    }

    Do you offer any hook?

    Thanks.

    https://ww.wp.xz.cn/plugins/simple-301-redirects/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Not Working with Cache Plugins’ is closed to new replies.