• jamesrlapalm

    (@jamesrlapalm)


    The plugin works pretty well, but the fact that auto cache purge is not triggered by category image changes is a huge con. This means that I have to give our shop manager admin level access so she can have access to the manual cache purge link.

    • This topic was modified 1 month ago by jamesrlapalm. Reason: Change rating
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Preslav Kenanov

    (@preslavkenanov)

    Hello @jamesrlapalm,

    Thank you for the provided feedback and suggestions regarding the auto purge functionality of the Speed Optimizer plugin.

    I have forwarded your comments to our WordPress developers for further review and consideration.

    Kind Regards,
    Preslav Kenanov

    Plugin Support Preslav Kenanov

    (@preslavkenanov)

    Hello again @jamesrlapalm,

    I would like to add some additional information about your case. You can actually create a custom filter which will grant manual purge cache capabilities for different user roles. In your particular case, for a store manager, the exact filter you can use by adding in the functions.php of your theme is:

    add_filter( 'sgo_purge_button_capabilities', 'sgo_add_new_role' ); function sgo_add_new_role( $default_capabilities ) { // Allow new user role to flush cache. $default_capabilities[] = 'manage_woocommerce'; return $default_capabilities; }

    More information about this filter is available here:
    https://www.siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/#control-which-user-roles-have-permission-to-do-a-manual-cache-purge

    Kind Regards,
    Preslav Kenanov

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

You must be logged in to reply to this review.