Cache sources stats in Nuxt #5287
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
Problem
Currently, we send a
/stats
request to the API on every frontend incoming request. This is unnecessary and wasteful.Description
Add a Nuxt server cache to only load the stats once an hour.
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: