willdurand/BazingaGeocoderBundle — pull request #13 by Baachi (2012-09-10 17:13:02+00:00)
Title: Cache

Hey Willdurand!

I created the `CacheProvider`.
It fixes issue #2.

It use the doctrine/common cache backend's.
In the configuration it accept only a service_id.

The `CacheProvider` support's locale support and you can configure the lifetime.

Configuration example:
```yaml
bazinga_geocoder:
providers:
openstreetmaps:
locale: %locale%
cache:
provider: openstreetmaps
cache: some_service_id
lifetime: 86400
locale: %locale%
```