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