Support » Plugin: LiteSpeed Cache » Does not Clear Cache of Pages

  • Resolved mingogomes

    (@mingogomes)


    Hello again,

    Yesterday I noticed that Lite Speed Cache is not clearing the cache of the main page and other pages that organize the articles.

    I change to WP-Rocket, and it was working fine.
    I have checked the settings of Purge, and I had activated the option to purge the cache of the HomePage and other pages.

    Why is it not working?

    Report Number: ADYDNBEG

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • New Report Number: DLMWSVDN

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    root@test:~$ curl -I -XGET https://masked_domain.com/
    HTTP/2 200
    date: Thu, 20 Feb 2020 11:27:39 GMT
    content-type: text/html; charset=UTF-8
    set-cookie: __cfduid=d86c8b6988ee9a15183a6c885da6453e21582198059; expires=Sat, 21-Mar-20 11:27:39 GMT; path=/; domain=.masked_domain.com; HttpOnly; SameSite=Lax; Secure
    link: <https://masked_domain.com/wp-json/>; rel="https://api.w.org/"
    link: <https://masked_domain.com/>; rel=shortlink
    x-litespeed-tag: 9ef_front,9ef_URL.6666cd76f96956469e7be39d750cc7d9,9ef_F,9ef_Po.10000000,9ef_PGS,9ef_
    x-litespeed-cache: miss
    vary: Accept-Encoding
    cache-control: max-age=31536000
    cf-cache-status: HIT
    age: 1922
    expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    server: cloudflare
    cf-ray: 568021eda8add66d-MAD

    cf-cache-status: HIT

    this is the issue , you have Cloudflare cache on HTML page, it will cache the dynamic page which is beyong LSCWP control , that’s why you did purge but actually page is not purged , the LiteSpeed cache is purged, but CloudFlare cache is not purged.

    Best regards,

    Thanks a lot, indeed, it was Cloudflare.
    However, I have everything set up in order to clear the cache of Cloudflare too from LS Cache, but on the page of “CDN” (wp-admin/admin.php?page=lscache-dash#cdn), when I check the current state, it says “OFF”.
    Is this normal?
    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    That ON/OFF switch is to rewrite the URL

    like from

    http://www.domain.com/wp-content/uploads/2020/02/image.jpg

    to

    cdn.domain.com/wp-content/uploads/2020/02/image.jpg

    and CloudFlare works differently , it reverse proxies all the request, so it’s not controlled by plugin side.

    Best regards,

    Great, then is a correct configuration then 😀
    Thanks a low qtwrk 🙂

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