The cache directory for generated content can now be set via the config.