Skip to content

Commit

Permalink
Merge pull request #7 from garytyler/update-full-page-stale-while-rev…
Browse files Browse the repository at this point in the history
…alidate

 Update stale-while-revalidate for full-page caching to 23 hours
  • Loading branch information
creatorlars authored Dec 18, 2024
2 parents f6c8066 + 005f921 commit 787e22c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/($lang).products.$productHandle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export async function loader({ params, request, context }: LoaderArgs) {
},
{
headers: {
'Cache-Control': CACHE_LONG,
'Oxygen-Cache-Control': 'public, max-age=3600, stale-while-revalidate=600',
'Cache-Control': CACHE_SHORT,
'Oxygen-Cache-Control': 'public, max-age=3600, stale-while-revalidate=82800',
'Vary': 'Accept-Language, Accept-Encoding'
},
},
Expand Down

0 comments on commit 787e22c

Please sign in to comment.