• Resolved yydevelopment

    (@yydevelopment)


    Hi, is there a way to clear to set that when litespeed clear all cache it will also clear cloudflare cache?

    It seems to cause me sometimes problem when i clear the cache on the site but not on cloudflare and i don’t always remember to clear it.

    If that option don’t exists do you offer some function to clear cache so i can add it to my code?

    For example you have this function:

    litespeed_purge_cache();

    Is there something similar to clear cloudflare cache?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support litetim

    (@litetim)

    @yydevelopment for now, this is not possible to make it automatically. It is going to be added in one of next future versions, but not all people want auto clear.

    You can manually clear CF cache from: Admin bar => and from dropdown choose “Purge all – Cloudflare”

    Plugin Support litetim

    (@litetim)

    =extra comment=

    • This reply was modified 1 month ago by litetim. Reason: extra comment
    Plugin Support litetim

    (@litetim)

    Forgot to wrote about code:
    from wp-content/litespeed/src/cdn/cloudflare.cls.php => you can use _purge_all()

    Thank you

    Thread Starter yydevelopment

    (@yydevelopment)

    Thank you, appreciate your help.

    I think it’s private function so i won’t be able to use it outsite your plugin with my own code.

    Hope you will add something like that in the future.

    Thanks

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