aboutsummaryrefslogtreecommitdiff
path: root/src/app/recent
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-21 13:15:44 +0530
committerreal-zephex <[email protected]>2024-03-21 13:15:44 +0530
commit2f333479353864e9a5965459296bf8288592f1db (patch)
treedc537000fce3d217fd891836588028d9c33352bc /src/app/recent
parentfixes: anime section is fully server rendered, added a loading screen for inf... (diff)
downloaddramalama-2f333479353864e9a5965459296bf8288592f1db.tar.xz
dramalama-2f333479353864e9a5965459296bf8288592f1db.zip
fixes: minor performance improvements
Diffstat (limited to 'src/app/recent')
-rw-r--r--src/app/recent/page.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/recent/page.jsx b/src/app/recent/page.jsx
index 2962e0f..73f4021 100644
--- a/src/app/recent/page.jsx
+++ b/src/app/recent/page.jsx
@@ -37,7 +37,8 @@ export default async function Releases() {
async function test() {
const res = await fetch(
- "https://dramalama-api.vercel.app/anime/gogoanime/recent-episodes"
+ "https://dramalama-api.vercel.app/anime/gogoanime/recent-episodes",
+ { cache: "force-cache" }
);
const data = res.json();
return data;