Skip to content

Commit

Permalink
fix(@dpc-sdp/nuxt-ripple): 🐛 ensure route caching works in cdn enviro…
Browse files Browse the repository at this point in the history
…nment
  • Loading branch information
dylankelly committed Oct 27, 2023
1 parent ffd15fd commit f9651c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt-ripple/composables/use-tide-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const useTidePage = async (
async onResponse({ response }) {
sectionCacheTags = response.headers.get('section-cache-tags')

if (response.ok && response._data) {
if (!process.server && response.ok && response._data) {
response._data['_fetched'] = Date.now()
}
}
Expand Down

0 comments on commit f9651c8

Please sign in to comment.