mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 22:59:56 +01:00
[PR #3] [CLOSED] fix: speed up stats #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArthurDanjou/artsite/pull/3
Author: @Barbapapazes
Created: 6/23/2024
Status: ❌ Closed
Base:
master← Head:fix/speedup-stats📝 Commits (1)
b5ba2b6fix: speed up stats📊 Changes
1 file changed (+49 additions, -5 deletions)
View changed files
📝
server/api/stats.get.ts(+49 -5)📄 Description
Hello 👋,
I update the
statsendpoint to use some cache and to parallelize the requests. This should make the endpoint significantly faster.You can learn more about cached function with this link: https://nitro.unjs.io/guide/cache#edge-workers
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.