# Gatsby.js, yarn workspaces and caching node\_modules

**URL:** <https://answers.netlify.com/t/gatsby-js-yarn-workspaces-and-caching-node-modules/6571>\
**Category:** Support\
**Tags:** gatsby, building, deployment\
**Created:** [December 24, 2019, 12:19pm UTC](https://answers.netlify.com/t/gatsby-js-yarn-workspaces-and-caching-node-modules/6571 "2019-12-24T12:19:09Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![jen](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jen/32/6044_2.png) [@jen](https://answers.netlify.com/u/jen)\
**Post date:** [April 17, 2021, 6:22pm UTC](https://answers.netlify.com/t/gatsby-js-yarn-workspaces-and-caching-node-modules/6571/10 "2021-04-17T18:22:09Z")

</div>

Hi folks,  
Wanted to share an exciting update about Yarn workspaces: we’ve made improvements to how we cache dependencies for these projects. You can try out our new caching by creating an environment variable called `NETLIFY_YARN_WORKSPACES` and setting it to `"true"`

We want your feedback before we roll this out more widely- please let us know [in this thread](https://answers.netlify.com/t/improved-caching-for-yarn-workspaces/36066) what your experience is like! More about the change in that thread as well.

---

_[View the full topic](https://answers.netlify.com/t/gatsby-js-yarn-workspaces-and-caching-node-modules/6571)._
