File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,11 @@ service names follow the pattern ``httplug.plugin.<name>``:
279279 plugins :
280280 - ' httplug.plugin.cache'
281281
282+ .. note ::
283+
284+ To configure HTTP caching, you need to require ``php-http/cache-plugin `` in
285+ your project. It is available as a separate composer package.
286+
282287To use a custom plugin or when you need specific configuration that is not
283288covered by the bundle configuration, you can configure the plugin as a normal
284289symfony service and then reference that service name in the plugin list of your
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ This page shows an example of all configuration values provided by the bundle.
4040 my_service :
4141 type : ' service'
4242 service : ' my_authentication_service'
43- cache :
43+ cache : # requires the php-http/cache-plugin package to be installed in your package
4444 cache_pool : ' my_cache_pool'
4545 stream_factory : ' httplug.stream_factory'
4646 config :
You can’t perform that action at this time.
0 commit comments