Custom Cache Paths
Configure the base directory for your cache using config.json.
Custom Cache Directory
By default, Barry writes static files to cache/
. If you need to customize this (e.g. to output to a dist/
or public/
directory), you can define a custom path in config.json
:
{
"cacheDir": "public"
}
This is particularly useful when integrating Barry into CI/CD pipelines or preparing files for upload to S3/CDN environments.