• Resolved AndreasJa

    (@andreasja)


    Hi!

    I have fallback cache enabled and just want to make sure it’s working correctly. Thank you in advance.

    The page shows "cf-cache-status: HIT"

    but in the html it shows:

    <!-- Page retrieved from Super Page Cache for Cloudflare's fallback cache - page generated @ 2022-08-17 01:03:56 - fallback cache expiration @ never expires - cache key bd6950ddef815adfd7795b792a85720bf406e8f0.html -->

    So the page comes from the fallback cache on my server or from cloudflare? Trying to learn, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    If you are seeing cf-cache-status: HIT – means that the data is being served from Cloudflare CDN server.

    However when the first quest comes for that page or when the cache is expired from Cloudflare CDN server, the request comes to the origin server. At that point the fallback cache is generated and the data gets served from the fallback cache so that the origin server doesn’t have to run all the PHP code to serve the response. So, it works like a fallback disk level cache for the times when either it’s a first request or cache is expired from CF CDN.

    In short what you are seeing is right and things are working properly.

    Thread Starter AndreasJa

    (@andreasja)

    Ok perfect, thank you for your fast responds @isaumya and an awesome plugin! Thanks.

    Plugin Contributor iSaumya

    (@isaumya)

    Thanks. Please consider posting a review in the review section of the plugin.

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