Testing cache-control

This commit is contained in:
r-freeman 2023-02-01 20:56:48 +00:00
parent 816d73bd57
commit 3b326afdb0

View File

@ -37,15 +37,15 @@ const nextConfig = {
} }
] ]
}, },
{ // {
source: '/api/views/:slug', // source: '/api/views/:slug',
headers: [ // headers: [
{ // {
key: "Cache-Control", // key: "Cache-Control",
value: "public, max-age=0, must-revalidate" // value: "public, max-age=0, must-revalidate"
} // }
] // ]
} // }
] ]
} }
} }