Hold onto og image cache longer while revalidating

This commit is contained in:
Sam Becker 2024-08-24 14:05:04 -05:00
parent c91875d48f
commit 56eec8d1fa

View File

@ -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',
};
};