sigle / stxstats

Get the latest data from Stacks blockchain.
https://www.stxstats.co
30 stars 1 forks source link

feat: cache api results #82

Closed pradel closed 2 years ago

pradel commented 2 years ago

This pr cache the API results for 2 minutes, this will allow the client to call the API every time it's called without creating issues for the API.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sigle/stxstats/DPstmB7RXVj2xDgW7tR2DQXKNGuh
✅ Preview: https://stxstats-git-feature-api-cache-response-sigle.vercel.app