Skip to content

Commit

Permalink
cache certs results
Browse files Browse the repository at this point in the history
  • Loading branch information
maaaathis committed Dec 24, 2023
1 parent ac5979b commit e042d8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/lookup/[domain]/certs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ const lookupCerts = async (domain: string): Promise<CertsData> => {
new URLSearchParams({
Identity: domain,
output: 'json',
})
}),
{
next: {
revalidate: 60 * 60,
},
}
);

if (!response.ok) {
Expand Down

0 comments on commit e042d8d

Please sign in to comment.