fix: dont cache html pages with opengraph tags
This commit is contained in:
parent
c1c6183db1
commit
337e507337
@ -38,7 +38,7 @@ export const onRequest: PagesFunction<Env> = async context => {
|
||||
return new Response(body, {
|
||||
headers: {
|
||||
...Object.fromEntries(rsp.headers.entries()),
|
||||
"cache-control": "public, max-age=60",
|
||||
"cache-control": "no-cache",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user