set max-age=0 when you want no cache (#31657)
This commit is contained in:
@@ -26,6 +26,7 @@ export function cacheControlFactory(
|
||||
maxAge && immutable && 'immutable',
|
||||
!maxAge && 'private',
|
||||
!maxAge && 'no-store',
|
||||
maxAge === 0 && 'max-age=0',
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join(', ')
|
||||
|
||||
Reference in New Issue
Block a user