tweak httpFoundation cache part for compatibility with
Thelia\HttpFoundation part