Documentation for caching additional directories

In a couple places, render employees mention using XDG_CACHE_DIR to cache additional directories:

Is there any documentation or guidance on how to use that directory? How do you bust the cache in this case?

Hi @jason_felt, we don’t have any official documentation on how do use the $XDG_CACHE_HOME directory but it is something we have considered adding. The main thing to note about that directory is anything you store there will persist between builds, unless you deliberately clear the cache with a “Clear build cache & deploy” or the total cache size exceeds 7GB.

Okay, thanks for the info. The max size is definitely helpful to know.