• simon_a6

    (@simon_a6)


    Hi. A client of ours is assigned as Shop Manager, but they do things on the site that sometimes needs to have the cache cleared on a particular page, that it auto generated.

    Do you know a way too enable the Top bar to show LSC so they can clear the cache of a given page, with that user level please?

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

    (@qtwrk)

    well , sadly there is no such option

    but a dirty workaround , you can create a php file , name it like purge.php

    with code like

    <?php 
    require('./wp-load.php');
    if (defined('LSCWP_V')){
    do_action( 'litespeed_purge_post', 123 );
    }

    where 123 is the post id

    then you can tell your user to open page like https://domain.com/purge.php to purge cache of that post

    Thread Starter simon_a6

    (@simon_a6)

    It’s an option… let me find out. Thanks.

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