• Resolved mairh93

    (@mairh93)


    Hello,

    Is it possible to purge the cash automatically choosing the time period?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Pavel Dosev

    (@pdosev)

    Hello @mairh93,

    There is no such option on the WordPress admin interface.

    You can use the ‘sg_cachepress_purge_cache()‘ function listed in our documentation to create a script that can be executed via cron.

    If your hosting provider supports wp-cli you can also use ‘wp sg purge‘ command.

    Both methods are described in the documentation, which is available here:

    https://www.ads-software.com/plugins/sg-cachepress/

    Thread Starter mairh93

    (@mairh93)

    Hello,

    I need to create a snippet with this function‘sg_cachepress_purge_cache()‘ ?
    What exactly it is doing?

    Thank you!

    Plugin Support Dimitar Petrov

    (@demiro)

    Once called, the function in question triggers the purge cache functionality of our plugin.

    You should check the case with the assistance of a developer who can implement the function to your code.

    Best Regards,
    Dimitar

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Purge cashe automatically’ is closed to new replies.