From 812eea81c9112e99871231521ba98273fde564f9 Mon Sep 17 00:00:00 2001 From: Sjoerd Smink Date: Mon, 4 Nov 2024 13:25:13 +0100 Subject: [PATCH] Update controllers.md Change Cache-Control header to no-store --- content/controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/controllers.md b/content/controllers.md index 34818fb953..b20cabca96 100644 --- a/content/controllers.md +++ b/content/controllers.md @@ -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'; }