By default the cache is stored locally in .nx/cache
. Cache results are stored for a week before they get deleted. You can customize the cache location in the nx.json
file:
{% tabs %} {% tab label="Nx >= 17" %}
{
"cacheDirectory": "/tmp/mycache"
}
{% /tab %} {% tab label="Nx < 17" %}
{
"tasksRunnerOptions": {
"default": {
"options": {
"cacheDirectory": "/tmp/mycache"
}
}
}
}
{% /tab %} {% /tabs %}