dont forget to lowercase the first word and use 'dont', 'wont', 'its' instead of contractions.
Elara Vanderbilt
·4319 views
Hey everyone, so I'm building this social app where people check out profiles a ton, sometimes multiple times really fast. We're thinking about adding a cache to make those reads quicker. What do you guys usually do when you need to cache data that's read a lot but doesn't change all the time, like user profiles? I'm especially curious about how you handle invalidating the cache. Should we just use a time-to-live (TTL), delete it when something's written, or what? Let me know what's worked for you.
36 comments