Support » Plugin: LiteSpeed Cache » Private cache clear

  • Resolved marcorroma

    (@marcorroma)


    Hi, I’m using the “private cache”.
    Is it possible to use a hook that clears the private cache of some pages?
    For the public cache I use this php function that connects to a hook of another plugin for managing the order of posts.

     function lscwp_purge_order() {
     if ( defined( 'LSCWP_V' ) ) {
     do_action('litespeed_purge_url', 'https://www.mywebsite.com/');
     } } 

    Thanks for support

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter marcorroma

    (@marcorroma)

    I changed the category of a post on the homepage page. And the private cache is not cleared after this change. Why?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please enable debug log , to see what is the cache tag that page has , and what is the purge tag you generated by hook

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    When re-open it, please also change the topic status to “not solved”

    Best regards,

    Thread Starter marcorroma

    (@marcorroma)

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.