# Changing the path of .jekyll-cache folder

**URL:** https://talk.jekyllrb.com/t/changing-the-path-of-jekyll-cache-folder/2800
**Category:** Help
**Created:** [April 5, 2019, 7:42am UTC](https://talk.jekyllrb.com/t/changing-the-path-of-jekyll-cache-folder/2800 "2019-04-05T07:42:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hnaseri](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/hnaseri/32/831_2.png) [@hnaseri](https://talk.jekyllrb.com/u/hnaseri)
#### Post date: [April 5, 2019, 7:42am UTC](https://talk.jekyllrb.com/t/changing-the-path-of-jekyll-cache-folder/2800/1 "2019-04-05T07:42:37Z")

</div>

Is there a way to change the path of .jekyll-cache folder ?

---

<div class="post-metadata">

### Author: ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)
#### Post date: [April 5, 2019, 11:06am UTC](https://talk.jekyllrb.com/t/changing-the-path-of-jekyll-cache-folder/2800/2 "2019-04-05T11:06:24Z")

</div>

Yes. Just define `cache_dir` in your config file accordingly. The only requirement is that the directory be _within_ the site’s configured `source` directory.
