Skip to content

Commit

Permalink
Update controllers.md
Browse files Browse the repository at this point in the history
Change Cache-Control header to no-store
  • Loading branch information
sjoerdsmink authored Nov 4, 2024
1 parent c07269c commit 812eea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ To specify a custom response header, you can either use a `@Header()` decorator

```typescript
@Post()
@Header('Cache-Control', 'none')
@Header('Cache-Control', 'no-store')
create() {
return 'This action adds a new cat';
}
Expand Down

0 comments on commit 812eea8

Please sign in to comment.