This commit is contained in:
@@ -8,10 +8,10 @@ const nextConfig: NextConfig = {
|
||||
images: {
|
||||
formats: ["image/avif", "image/webp"],
|
||||
minimumCacheTTL: 604800,
|
||||
deviceSizes: [360, 640, 768, 1024, 1280, 1536],
|
||||
imageSizes: [64, 96, 160, 256, 384, 560],
|
||||
},
|
||||
experimental: {
|
||||
optimizePackageImports: ["lucide-react", "motion"],
|
||||
},
|
||||
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
@@ -19,7 +19,8 @@ const nextConfig: NextConfig = {
|
||||
headers: [
|
||||
{
|
||||
key: "Cache-Control",
|
||||
value: "public, max-age=604800, stale-while-revalidate=2592000",
|
||||
value:
|
||||
"public, max-age=604800, stale-while-revalidate=2592000",
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -27,4 +28,4 @@ const nextConfig: NextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user