On our website we’ve a cart / total displayed on every page of the site. When implementing Fastly I can either cache an entire page or ignore an entire page. I don’t appear to be able to tell the system to cache everything except what’s at the top of every page.
Am I correct in thinking that without some code changes to our site this is not possible? By code changes I mean the use of ESI (putting the basket code into some sort of include?)
If I’m incorrect about the above, what is the recommended solution for setting certain sections of a page as not-cacheable?
Please sign in to leave a comment.