jschultz38 / degenbot

Fetch game times for select degenz
1 stars 0 forks source link

Add caching #82

Closed jschultz38 closed 2 months ago

jschultz38 commented 2 months ago

Add caching.

Right now, this is a primitive approach that:

  1. Fills cache on start (without getting rate- limited)
  2. Updates cache entries while alive, one every 15 minutes

In the future, we should add a way to check if the cache needs to be updated by checking the HTML date tag