Support » Plugin: Super Page Cache for Cloudflare » Cache and cookies

  • Hi,

    From what I understand, the cached page is not served if there are cookies.

    Am I wrong? Or can the cached page be served if the cookies do not change the display of the pages? For Google Analytics for example? I also use the UTM Grabber plugin.

    Thanks for your answer`

Viewing 1 replies (of 1 total)
  • Plugin Contributor Saumya Majumder

    (@isaumya)

    Cloudflare will not cache the page if there is a set-cookie header present in the response header of the page. Cuase that will tell CF system that this page is setting this cookie when the page is loaded and the cookie value might be used inside the page to show content dynamically.

    But if the cookies are being set using javascript then that won’t affect the caching behaviour.

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