Decouple Phraseanet cache factory and cache connection factory