# Low level build cache API

**URL:** <https://discuss.gradle.org/t/low-level-build-cache-api/35343>\
**Category:** Help/Discuss\
**Created:** [March 20, 2020, 5:57pm UTC](https://discuss.gradle.org/t/low-level-build-cache-api/35343 "2020-03-20T17:57:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgeradz](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bgeradz](https://discuss.gradle.org/u/bgeradz)\
**Post date:** [March 20, 2020, 5:57pm UTC](https://discuss.gradle.org/t/low-level-build-cache-api/35343/1 "2020-03-20T17:57:58Z")

</div>

Is there a way to use build cache in a more direct but still “official” way like  
something.store(key, file)  
file = something.retrieve(key)

In case splitting work into more tasks or transforms and defining inputs/outputs is infeasible for one reason or another
