Split cache examples

This commit is contained in:
tcoch
2025-12-19 19:08:05 +01:00
parent e0fe1b8829
commit b9cec7864a

View File

@@ -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
{
// ...
}