How does using {{ cart.total_price }} affect full-page caching?

Highlighted
Shopify Partner
14 1 0

I'm trying to better understand Shopify's full page caching, and how using any 'cart' liquid variables might affect the caching.

I understand that Shopify caches my product pages, and that the cache is for example reset after I make a theme update. What I don't understand is how this relates to using a variable like {{ cart.total_price }} on a page like this. My logic tells me that either the liquid variable should have outdated content, or using it it should clear the Shopify cache. But it doesn't seem to to this?

Is there any info available how this all works?

Thanks!

0 Likes
Highlighted
Shopify Partner
106 13 15

Hi @Joost_Plas,

Can you please share your shop url.

If It solves your problem, Please Like and Accept Solution.
Do you need Shopify customization and custom work on your store? Hire me.
Feel free to Contact me on pankajtechcode@gmail.com
0 Likes
Highlighted
Shopify Partner
14 1 0
Thanks for the reply.
My shop is thegreenlabels.com
0 Likes