logoalt Hacker News

brokencodelast Sunday at 3:14 PM1 replyview on HN

Would it be possible to increase the cache duration if misses are a frequent source of problems?

Maybe using a heartbeat to detect live sessions to cache longer than sessions the user has already closed. And only do it for long sessions where a cache miss would be very expensive.


Replies

bchernylast Sunday at 3:15 PM

Yes, we're trying a couple of experiments along these lines. Good intuition.