Reconfigure template-image debug caching
This commit is contained in:
parent
1fc78113c3
commit
9627d912b4
@ -32,10 +32,10 @@ export async function GET(request: Request) {
|
|||||||
style: 'normal',
|
style: 'normal',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
...!DEBUG_CACHING && {
|
|
||||||
headers: {
|
headers: {
|
||||||
'Cache-Control': 's-maxage=3600, stale-while-revalidate',
|
'Cache-Control': DEBUG_CACHING
|
||||||
},
|
? 's-maxage=1'
|
||||||
|
: 's-maxage=3600, stale-while-revalidate',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user