Skip to content

Commit 7cb8ac1

Browse files
committed
minor #17010 [HttpCache] add validation model ref link (mohamedGasmii)
This PR was merged into the 4.4 branch. Discussion ---------- [HttpCache] add validation model ref link <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- e34c9d0 added validation model ref link
2 parents 843496f + e34c9d0 commit 7cb8ac1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

http_cache/validation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ data, the expiration model falls short. With the `expiration model`_, the
99
application won't be asked to return the updated response until the cache
1010
finally becomes stale.
1111

12-
The validation model addresses this issue. Under this model, the cache continues
12+
The `validation model`_ addresses this issue. Under this model, the cache continues
1313
to store responses. The difference is that, for each request, the cache asks the
1414
application if the cached response is still valid or if it needs to be regenerated.
1515
If the cache *is* still valid, your application should return a 304 status code
@@ -235,6 +235,7 @@ headers that must not be present for ``304`` responses (see
235235
:method:`Symfony\\Component\\HttpFoundation\\Response::setNotModified`).
236236

237237
.. _`expiration model`: https://tools.ietf.org/html/rfc2616#section-13.2
238+
.. _`validation model`: https://tools.ietf.org/html/rfc2616#section-13.3
238239
.. _`HTTP ETag`: https://en.wikipedia.org/wiki/HTTP_ETag
239240
.. _`DeflateAlterETag`: https://httpd.apache.org/docs/trunk/mod/mod_deflate.html#deflatealteretag
240241
.. _`BrotliAlterETag`: https://httpd.apache.org/docs/2.4/mod/mod_brotli.html#brotlialteretag

0 commit comments

Comments
 (0)