From b9cec7864a586bbd72e696a0d9db947f0fe32edf Mon Sep 17 00:00:00 2001 From: tcoch Date: Fri, 19 Dec 2025 19:08:05 +0100 Subject: [PATCH] Split cache examples --- http_cache/cache_vary.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/http_cache/cache_vary.rst b/http_cache/cache_vary.rst index d4e1dcbc83e..61201f18e04 100644 --- a/http_cache/cache_vary.rst +++ b/http_cache/cache_vary.rst @@ -41,8 +41,13 @@ attribute:: // ... #[Cache(vary: ['Accept-Encoding'])] + public function foo(): Response + { + // ... + } + #[Cache(vary: ['Accept-Encoding', 'User-Agent'])] - public function index(): Response + public function bar(): Response { // ... }