[PR #3] [CLOSED] fix: speed up stats #5

Closed
opened 2025-12-01 17:04:27 +01:00 by arthur · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArthurDanjou/artsite/pull/3
Author: @Barbapapazes
Created: 6/23/2024
Status: Closed

Base: masterHead: fix/speedup-stats


📝 Commits (1)

📊 Changes

1 file changed (+49 additions, -5 deletions)

View changed files

📝 server/api/stats.get.ts (+49 -5)

📄 Description

Hello 👋,

I update the stats endpoint 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.

## 📋 Pull Request Information **Original PR:** https://github.com/ArthurDanjou/artsite/pull/3 **Author:** [@Barbapapazes](https://github.com/Barbapapazes) **Created:** 6/23/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/speedup-stats` --- ### 📝 Commits (1) - [`b5ba2b6`](https://github.com/ArthurDanjou/artsite/commit/b5ba2b6774e5486f28c1d83f65843103a3b1df15) fix: speed up stats ### 📊 Changes **1 file changed** (+49 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `server/api/stats.get.ts` (+49 -5) </details> ### 📄 Description Hello 👋, I update the `stats` endpoint 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
arthur added the pull-request label 2025-12-01 17:04:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arthur/artsite#5