Skip to content
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
4 changes: 3 additions & 1 deletion Resources/doc/features/invalidation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Invalidation
* :ref:`Varnish <foshttpcache:varnish configuration>`
* :ref:`Nginx <foshttpcache:nginx configuration>` (except regular expressions)
* :doc:`symfony-http-cache` (except regular expressions)
* Fastly (except regular expressions)
* :ref:`Fastly <foshttpcache:fastly configuration>` (except regular expressions)
* :ref:`configuration_cloudflare`
* :ref:`configuration_cloudfront`

**Preparation**:

Expand Down
6 changes: 5 additions & 1 deletion Resources/doc/reference/configuration/proxy-client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ HTTP method for sending purge requests to the Symfony HttpCache. Make sure to
configure the purge plugin for your HttpCache with the matching header if you
change this.

.. _configuration_cloudflare:

cloudflare
----------

Expand Down Expand Up @@ -274,6 +276,8 @@ Identifier for the Cloudflare zone you want to purge the cache for.
List of Cloudflare API endpoints to use for purging the cache. You can use this to specify a different
endpoint for testing purposes.

.. _configuration_cloudfront:

cloudfront
----------
Talking to AWS cloudfront requires the ``jean-beru/fos-http-cache-cloudfront`` library. You need to require this dependency before you can configure the ``cloudfront`` proxy client.
Expand Down Expand Up @@ -322,7 +326,7 @@ Service identifier of a `AsyncAws\CloudFront\CloudFrontClient` client. More info
`AWS Async documentation_`. It can not be used with the ``configuration`` option.

Fastly
----------
------
.. code-block:: yaml

# config/packages/fos_http_cache.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/FlashMessageListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function onKernelResponse(ResponseEvent $event): void
} catch (SessionNotFoundException) {
return;
}
if (!($session instanceof FlashBagAwareSessionInterface)) {
if (!$session instanceof FlashBagAwareSessionInterface) {
return;
}

Expand Down
Loading