Anything that is not user-specific could be a candidate for caching; so categories, products, CMS pages would immediately come to mind. The cart and checkout flow would be excluded from this since this will be specific to individual sessions.
Jul 29, 2020
2
Level 1
what should i cache in e-commerce application
I have a e-commerce Laravel web application where I want to use varnish, I have setup varnish in homestead and everything is working fine, I have never used cache in websites so I m some kind of in doubt that should I cache every route? the first thing which pops up in my mind "no" because there are checkout, confirm page, I was thinking to cache all GET routes and leave POST, is it good? Can someone help me regarding I will appreciate, Thank you
Please or to participate in this conversation.