# Git-lfs caching, is it possible?

**URL:** https://discuss.bitrise.io/t/git-lfs-caching-is-it-possible/3570
**Category:** Question & Answer
**Created:** [December 20, 2017, 2:39pm UTC](https://discuss.bitrise.io/t/git-lfs-caching-is-it-possible/3570 "2017-12-20T14:39:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)
#### Post date: [December 22, 2017, 7:41am UTC](https://discuss.bitrise.io/t/git-lfs-caching-is-it-possible/3570/2 "2017-12-22T07:41:04Z")

</div>

Hi @scspijker,

Sure, it’s definitely possible. As git LFS is just a `git` “plugin”, the same rules apply for it as with the git repo itself.

This means that it’s not possible to only cache the LFS files without the rest of the repository, without extensive tweaking. But you can of course cache the whole repo, including the LFS files. You can find the related #How To guide here:

> [@How to Cache the Source Code directory](http://discuss.bitrise.io/t/how-to-cache-the-source-code-directory/1533):
>
> Bitrise does not do automatic git/source code caching, unless you configure it for yourself. This is part of our Security policy too (that we don’t store your code and we never access it outside of the ephemeral build VMs): [Redirecting…](http://devcenter.bitrise.io/getting-started/code-security/#source-code) You can of course configure the source to be cached, a very simple / minimal example: workflows: primary: steps: - activate-ssh-key@3.1.1: - cache-pull@0.9.2: {} - git-clone@3.4.3: inputs: - reset\_repository: 'Yes' - cache-…

If you’d have any questions, issues or feedback just let us know! 😉

---

_[View the full topic](https://discuss.bitrise.io/t/git-lfs-caching-is-it-possible/3570)._
