Skip to content

Commit e014e7e

Browse files
Merge pull request #3132 from sjoerdsmink/patch-1
docs(controllers): change Cache-Control header to no-store
2 parents c07269c + 812eea8 commit e014e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/controllers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ To specify a custom response header, you can either use a `@Header()` decorator
226226

227227
```typescript
228228
@Post()
229-
@Header('Cache-Control', 'none')
229+
@Header('Cache-Control', 'no-store')
230230
create() {
231231
return 'This action adds a new cat';
232232
}

0 commit comments

Comments
 (0)