Menu
Back to Discussions

dont know about e-commerce product pages but heres a few ideas for cache invalidation: you could try time-based

Gulnara Sharipova
Gulnara Sharipova
·1880 views
Hey everyone, I'm trying to figure out how to handle cache invalidation for a busy e-commerce site, particularly for product pages. We have so many products, and their prices and stock can change pretty often. We're using Redis for caching right now. What do you all usually do to make sure people see the latest info without overwhelming the system every time something updates? Setting a Time To Live feels a bit too simple, but clearing the whole cache for every single change seems like overkill. Anyone have some tried-and-true methods they've used?
32 comments

Comments

Loading comments...