jsdelivr / dash-directus

The jsDelivr dashboard backend
Open Software License 3.0
1 stars 0 forks source link

Cache GitHub requests #20

Open MartinKolarik opened 4 months ago

MartinKolarik commented 4 months ago

As we're making more and more requests to the GitHub API, we'll need to consider its API limits and make some improvements. One thing that helps significantly without affecting our use in any way is caching and making conditional (ETag-based) requests, which don't count toward the API limits if the response is a 304.