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