Skip to content

mention that cache-plugin is not required in httplug bundle #254

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
Mar 4, 2019
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
5 changes: 5 additions & 0 deletions integrations/symfony-bundle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ service names follow the pattern ``httplug.plugin.<name>``:
plugins:
- 'httplug.plugin.cache'

.. note::

To configure HTTP caching, you need to require ``php-http/cache-plugin`` in
your project. It is available as a separate composer package.

To use a custom plugin or when you need specific configuration that is not
covered by the bundle configuration, you can configure the plugin as a normal
symfony service and then reference that service name in the plugin list of your
Expand Down
2 changes: 1 addition & 1 deletion integrations/symfony-full-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This page shows an example of all configuration values provided by the bundle.
my_service:
type: 'service'
service: 'my_authentication_service'
cache:
cache: # requires the php-http/cache-plugin package to be installed in your package
cache_pool: 'my_cache_pool'
stream_factory: 'httplug.stream_factory'
config:
Expand Down