Provide cache capacities for build an generators

Duplicate enhancement from symfony2admingenerator/AdmingeneratorGeneratorBundle#802 
I confirm it's a full file path: https://github.com/symfony2admingenerator/GeneratorBundle/blob/feature-cache_listener/EventListener/ControllerListener.php#L156

And no need to sha1 (but can be done...)