mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 12:55:42 +00:00
Testing cache-control
This commit is contained in:
parent
816d73bd57
commit
3b326afdb0
@ -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"
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user