• Resolved 9itish

    (@9itish)


    Hi,

    1. I wanted to know if LiteSpeed automatically purges the cache of a post as soon as I call wp_update_post() on that webpage?

    2. Is the cache of the page also purged from Quic Cloud CDN network?

    3. Let’s say that a webpage has a TTL of 1 week. So, its cache will expire after 7 days. However, I use the wp_update_post() function to update it today. Will LiteSpeed automatically purge all caches of this page everywhere?

    4. Does this mean that LiteSpeed will automatically purge the cache and serve fresh content for all pages even if they have a long TTL?

    5. If 4 is yes, then are there any situations where I might want to use a shorter TTL of 1 day instead of 1 week?

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    1, yes

    2, if you have enabled QC API , yes

    3, whichever post you updated , LSCWP will purge all related pages , for example you updated post 1 which is under sub-category1 which is also under category1 , then all its related page , like post1 , sub-cat1 , cat1 , author …etc pages will be purged.

    4, by design , yes

    5, I couldn’t think any case of it

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Are pages automatically purged on call to `wp_update_post()`’ is closed to new replies.