Add support for caching parameters send with build

Merged Kamil Trzcińśki requested to merge cache into master