ESI & Origin Shield
Been playing around with fastly and experimenting with it for our Magento installations and have a problem of sorts.
Ideally, we want our pages cached in Fastly on the North American POPS, but, for it to truly be fully cached and prewarmed in fastly, from what I understand we would need to use origin shield (please correct me if I am wrong). That way the POP designated for origin shield would be fully warmed and any subsequent requests would be served from it to the other POP’s and increase the overall loading performance.
When using origin shield ESI won’t work so things like the shopping cart summary block or login links won’t update when a user adds something to cart or logs in.
Basically I am left with a situation where I either have ESI working and my cache pre-warmed, or, no working ESI and cache not being pre-warmed.
If you have any suggestions or solutions I am all ears. I would ideally like both to work.
-
Hi, I think you'll need to write into to support@fastly.com for us to help diagnose this from the Fastly side. We'll need to know things such as what version of Magento you are using and some example URLs we can work from, along with a description of the faulty behaviour (and the expected).
Please note this community post in the ticket to support and we can give a general summary here on the resolution.
Please sign in to leave a comment.
Comments
1 comment