You are viewing a single comment's thread from:

RE: [Python Tips] Expiring Dict

in #programming7 years ago

There are a lot of useful situations, for example, I have dashboards I create to monitor what's going on. I will cache the data for an hour rather than continuously hit the database.

Whenever you have a lot of access to the data, but the data doesn't need to be up to the second then caching is a good option.