Skip to content

Commit 79e5ed5

Browse files
committed
fix: update CDN default configuration
- exclude */customer*, */checkout* paths from being cached in the CDN
1 parent 5777e59 commit 79e5ed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/theme/nuxt.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ export default () => {
134134
default: 'max-age=300, s-maxage=3600, stale-while-revalidate=86400',
135135
matchRoute: {
136136
'/': 'max-age=1800, s-maxage=86400, stale-while-revalidate=86400',
137-
'/my-account': 'none',
138-
'/checkout*': 'none',
137+
'*/customer*': 'none',
138+
'*/checkout*': 'none',
139139
},
140140
}],
141141
],

0 commit comments

Comments
 (0)