Do we need the cache buster in the URL?
-
Hello. Is there a way to do this without the /?swcfpc=1 cache buster at the end of the URL?
If a logged in user shares a page with it to Facebook than all incoming users enter the site without cache.
I noticed CloudFlare says here:
“Resources that match a Cache Everything Page Rule are still not cached if the origin web server sends a Cache-Control header of max-age=0, private, no-cache, or an Expires header with an already expired date. Include the Edge Cache TTL setting within the Cache Everything Page Rule to additionally override the Cache-Control headers from the origin web server.”
https://support.cloudflare.com/hc/en-us/articles/202775670-Customizing-Cloudflare-s-cacheSo why can’t we just set the Cache-Control header to max-age=0, private, no-cache for logged-in users and be done with it? Do we have to modify the URL?
Thanks for the most excellent plugin!
- The topic ‘Do we need the cache buster in the URL?’ is closed to new replies.