Skip to content

Commit

Permalink
Cache changes, testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Caixa committed Feb 19, 2024
1 parent 0ac300c commit e6ad8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/get-user-info/[id].ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default async function handler(
};

if (response) {
res.setHeader('Cache-Control', 's-maxage=10, stale-while-revalidate')
res.setHeader('Cache-Control', 's-maxage=20, stale-while-revalidate')
res.status(200).json(response);
}
}
Expand Down

0 comments on commit e6ad8b0

Please sign in to comment.