Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ezralazuardy committed Dec 3, 2024
1 parent 6f4b376 commit cdc92a8
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ const nextConfig = {
devIndicators: {
appIsrStatus: false,
},
// images: {
// minimumCacheTTL: 2592000, // cache for 1 month (2592000 seconds)
// },
// async headers() {
// return [
// {
// source: "/(.*)",
// headers: [
// {
// key: "Cache-Control",
// value: "public, max-age=2592000, must-revalidate", // cache for 1 month (2592000 seconds)
// },
// ],
// },
// ];
// },
images: {
minimumCacheTTL: 2592000, // cache for 1 month (2592000 seconds)
},
async headers() {
return [
{
source: "/(.*)",
headers: [
{
key: "Cache-Control",
value: "public, max-age=2592000, must-revalidate", // cache for 1 month (2592000 seconds)
},
],
},
];
},
};

export default nextConfig;

0 comments on commit cdc92a8

Please sign in to comment.