# Clear Cache automatically

**URL:** <https://forum.ghost.org/t/clear-cache-automatically/16119>\
**Category:** Developer help\
**Created:** [July 26, 2020, 6:21pm UTC](https://forum.ghost.org/t/clear-cache-automatically/16119 "2020-07-26T18:21:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkpollo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/darkpollo/32/8898_2.png) [@darkpollo](https://forum.ghost.org/u/darkpollo)\
**Post date:** [July 26, 2020, 6:21pm UTC](https://forum.ghost.org/t/clear-cache-automatically/16119/1 "2020-07-26T18:21:13Z")

</div>

Hi,  
I am using the latest version of ghost, my first installation but so far so good everything was working perfect.  
My problem is that the .cache/yarn folder is growing without control.

I read the forums and found that executing

```auto
yarn cache clean

```

should clear that, but it seems I do not have yarn installed on my system and ghostcli installation did not require it.  
So, is there any ghost cli command to clear the cache?  
Is it possible to schedule a cache clean that runs temporary so this increase cache does not happens again?  
I am not sure why this is happening as the site should not have any traffic right now (demo page with no traffic).

Thanks!

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [July 26, 2020, 7:29pm UTC](https://forum.ghost.org/t/clear-cache-automatically/16119/2 "2020-07-26T19:29:15Z")

</div>

The yarn cache folder can be removed. It’s used as a staging location for getting Ghost’s dependencies. You can trigger a cache removal by running `ghost buster`. The only time the cache size should change is when you’re installing a new version of Ghost, but it generally shouldn’t dramatically change.

---

<div class="post-metadata">

**Author:** ![darkpollo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/darkpollo/32/8898_2.png) [@darkpollo](https://forum.ghost.org/u/darkpollo)\
**Post date:** [July 26, 2020, 7:36pm UTC](https://forum.ghost.org/t/clear-cache-automatically/16119/3 "2020-07-26T19:36:35Z")

</div>

Fantastic!  
I did not see that command on the help.  
Thank you.  
Yeah, I suppose this should be the case, as I am using this install for testing, there could be other reasons for that to happen. I wanted to clear it so I can monitor it from the beginning just in case.

Thanks again!
