Skip to content

Commit dd4f7b5

Browse files
authored
Update allowed values for Clear-Site-Data header
1 parent 0a68b7d commit dd4f7b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/configuration/security.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ The ``Clear-Site-Data`` HTTP header clears browsing data (cookies, storage, cach
373373
associated with the requesting website. It allows web developers to have more
374374
control over the data stored by a client browser for their origins.
375375

376-
Allowed values are ``cache``, ``cookies``, ``storage``, ``clientHints``, ``executionContexts``,
376+
Allowed values are ``cache``, ``cookies``, ``storage``, ``clientHints``, ``executionContexts``,
377377
``prefetchCache`` and ``prerenderCache``.
378378
It's also possible to use ``*`` as a wildcard for all directives:
379379

@@ -406,6 +406,7 @@ It's also possible to use ``*`` as a wildcard for all directives:
406406
->logout()
407407
->clearSiteData(['cookies', 'storage']);
408408
};
409+
409410
.. versionadded:: 8.1
410411
The ``clientHints``, ``prefetchCache`` and ``prerenderCache`` options were
411412
introduced in Symfony 8.1.

0 commit comments

Comments
 (0)