File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,17 @@ What we like about the LastModifiedDeterminators is that they encourage
6969to separate the concerns nicely and encapsulate the tasks into small
7070units that are easy to understand, reusable and unit test.
7171
72+ * Note:* ` @ReplaceWithNotModifiedResponse ` does not alter or add
73+ ` Cache-Control ` header settings. So, by default your response will
74+ remain ` private ` and end up in browser caches only. If you want it to be
75+ kept in surrogate caches (like Varnish or the Symfony Http Cache), you
76+ can add ` @Cache(smaxage="0") ` . This will make the response ` public ` , but
77+ also requires a revalidation on every request as the response is
78+ * always* considered stale. [ Learn more about Symonfy's HTTP caching] .
7279
80+ [ Learn more about Symonfy's HTTP caching ] : http://symfony.com/doc/current/book/http_cache.html
81+
82+
7383
7484## Installation
7585
You can’t perform that action at this time.
0 commit comments