You can control how long the data is cached:
https://gohugo.io/getting-started/configuration/#configure-file-caches
For example, to evict the cache after 10 minutes:
[caches.getresource]
dir = ':cacheDir/:project'
maxAge = '10m'
You can change the cache location if you want to inspect and easily clear it. For example, to place the files in the resources directory in the root of your project:
[caches.getresource]
dir = ':resourceDir'
maxAge = '10m'