Hold onto og image cache longer while revalidating
This commit is contained in:
parent
c91875d48f
commit
56eec8d1fa
@ -3,7 +3,7 @@ export const getImageResponseCacheControlHeaders = (
|
||||
) => {
|
||||
return {
|
||||
'Cache-Control': shouldCache
|
||||
? 's-maxage=3600, stale-while-revalidate=59'
|
||||
? 's-maxage=3600, stale-while-revalidate=31536000'
|
||||
: 's-maxage=1, stale-while-revalidate=59',
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user