Skip to content

Commit

Permalink
feat: add cache for og
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Jul 7, 2024
1 parent 79a7b4c commit 09117c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/og/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const nextConfig = {
headers: [
{
key: 'Cache-Control',
value: 's-maxage=172800, stale-while-revalidate=86400'
value:
's-maxage=172800, max-age=172800, stale-while-revalidate=86400'
},
{ key: 'X-Hey-Version', value: COMMIT_SHA },
{ key: 'X-Hey-Deployment', value: DEPLOYMENT_ID }
Expand All @@ -24,7 +25,8 @@ const nextConfig = {
}
];
},
poweredByHeader: false
poweredByHeader: false,
reactStrictMode: true
};

module.exports = nextConfig;

0 comments on commit 09117c8

Please sign in to comment.