• Resolved russclem

    (@russclem)


    Is there a way to make it so that editors can purge the cache? It’s pretty crazy that they have to keep contacting me whenever they make a change to the site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Download a plugin called admin menu editor pro and now you will be able to set what each user role have the ability to edit, see or do… Once set up then you can give your editors ability to have assess to litespeed button to press purge… U can have it set where all they can do is press purge and not being able to access your settings off litespeed… Its fully custimizable to decide exactly what you want to give users the ability to do not only for litespeed but any plugin or part of the user interface ??

    Thread Starter russclem

    (@russclem)

    Ah awesome!

    What URL should I use to purge the cache? The one I copy and paste has a nonce, which I guess means it won’t work for any users other than me.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you can create a standalone PHP in same directory as your wordpress roto dir, with content

    <?php
    define( ‘WP_USE_THEMES’, false );
    require( ‘./wp-load.php’ );
    do_action( ‘litespeed_purge_all’ );
    echo “purged all”;

    then add the link to wp-admin for non-admin user by @my2424u mentioned plugin

    Best regards

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I wrote a simple plugin to enabling purge button for non-admin user

    if you want to try

    create directory /wp-content/plugins/lscwp-addon

    create file /wp-content/plugins/lscwp-addon/lscwp-addon.php

    add this content into that file , save , then go to plugin page to activate it

    screenshot:

    Best regards,

    Thanks for this solution. Works like charm, but I’m having a new issue.

    I use Cloudflare to give more speed to my site. After posting the Cloudflare cache is not refreshing even with this add-on. The cache in homepage is not working as expected.

    Any ideas to solve this? Regards.

    My site is https://estereofonica.com

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you need to disable “cache everything” on Cloudflare to cache HTML request

    Best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Purge all for editors’ is closed to new replies.