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',
headers: [
{
key: "Cache-Control",
value: "public, max-age=0, must-revalidate"
}
]
}
// {
// source: '/api/views/:slug',
// headers: [
// {
// key: "Cache-Control",
// value: "public, max-age=0, must-revalidate"
// }
// ]
// }
]
}
}