Skip to content

Commit

Permalink
Add example of how to set purge_type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom authored Nov 28, 2017
1 parent 4bb5ea8 commit 92848da
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/drivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ services:
- {name: ezplatform.http_cache.purge_client, purge_type: myhttpcache}
```

Any service which implements the PurgeClientInterface must be tagged with `ezplatform.http_cache.purge_client` in order
to be registered as such.
`purge_type` specifies what the value of the purge_type setting in `app/config/ezplatform.yml` should be in order to
enable this driver.
Any service which implements the PurgeClientInterface must be tagged with `ezplatform.http_cache.purge_client` in
order to be registered as such.

`purge_type` specifies what the value of the `ezpublish.http_cache.purge_type` setting in `app/config/ezplatform.yml`
should be in order to enable this driver. By default this is set using `%purge_type%` parameter, and can be set in `app/config/parameters.yml` like so:

```
parameters:
purge_type: myhttpcache
```


## TagHandler
Expand Down

0 comments on commit 92848da

Please sign in to comment.