Skip to content

Correct spelling & grammar in 4.4 http_cache/ #16274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion http_cache/cache_invalidation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ to support the ``PURGE`` HTTP method::

**Purge** instructs the cache to drop a resource in *all its variants*
(according to the ``Vary`` header, see :doc:`/http_cache/cache_vary`). An alternative to purging is
**refreshing** a content. Refreshing means that the caching proxy is
**refreshing** the content. Refreshing means that the caching proxy is
instructed to discard its local cache and fetch the content again. This way,
the new content is already available in the cache. The drawback of refreshing
is that variants are not invalidated.
Expand Down
2 changes: 1 addition & 1 deletion http_cache/ssi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Symfony manages only the ``#include virtual`` one.

.. caution::

Be careful with SSI, your website may be victim of injections.
Be careful with SSI, your website may fall victim to injections.
Please read this `OWASP article`_ first!

When the web server reads an SSI directive, it requests the given URI or gives
Expand Down
2 changes: 1 addition & 1 deletion http_cache/varnish.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ configuration of PHP, your session cookie has the name ``PHPSESSID``:
set req.http.Cookie = regsuball(req.http.Cookie, "^[; ]+|[; ]+$", "");

if (req.http.Cookie == "") {
// If there are no more cookies, remove the header to get page cached.
// If there are no more cookies, remove the header to get the page cached.
unset req.http.Cookie;
}
}
Expand Down