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>``:
279
279
plugins :
280
280
- ' httplug.plugin.cache'
281
281
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
+
282
287
To use a custom plugin or when you need specific configuration that is not
283
288
covered by the bundle configuration, you can configure the plugin as a normal
284
289
symfony 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.
40
40
my_service :
41
41
type : ' service'
42
42
service : ' my_authentication_service'
43
- cache :
43
+ cache : # requires the php-http/cache-plugin package to be installed in your package
44
44
cache_pool : ' my_cache_pool'
45
45
stream_factory : ' httplug.stream_factory'
46
46
config :
You can’t perform that action at this time.
0 commit comments