When should you use more than one cache layer?
Wiktoria Kowalska
·5506 views
hey everyone, i've been thinking about caching strategies lately. we all know about using redis or memcached for object caching, and cdns for static assets. but what about multiple layers? like, an in-memory cache inside the app, then a distributed cache like redis, and then maybe a cdn too. when does all that extra work actually start to help, instead of just fixing one or two layers? what do you gain and lose, and how do you even keep the cache straight across all of them? i'm really curious to hear what you all have tried
24 comments