fixed cache in configuration and extension

The `cache_service` configuration option was being ignored - this corrects that.