• Resolved Anonymous User

    (@anonymized-23173868)


    I see you can purge a post by ID, URL, etc. and you can also purge all using the “litespeed_purge_all” action. However, that purges everything including object and Opcode cache. How do I purge the entire PAGE cache programatically? I don’t see an action for that in the documentation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please try

    @header('x-litespeed-purge:*');

    Thread Starter Anonymous User

    (@anonymized-23173868)

    I figured it out. This works:

    do_action( ‘litespeed_purge’ );

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

The topic ‘How to Purge All Page Cache Programatically’ is closed to new replies.