Re:Things Caches Do (2008)
by makmanalp on Monday September 23, 2013 @12:05AM
(#6429123)
This is neat. There is one more case, where the cache is kept valid because the condition that makes it invalid is known. So, for example, if I have a message list page cached, I can simply invalidate the cache for that page when I add a new message for that specific user. Depending on the use case, I might want to even immediately repopulate that cache with the new info.
This is really the ideal scenario since things are always cached and requests don't even need to hit the dynamic site, but obviously this can't always happen since sometimes you just don't know.
This is really the ideal scenario since things are always cached and requests don't even need to hit the dynamic site, but obviously this can't always happen since sometimes you just don't know.