Cache in hugo or netlify config

Hi,

in the host and deploy guide for netlify is something about cache and I am not quiet sure if the cache settings have to be in hugo.toml or netlify.toml?

Here is the guide: https://gohugo.io/host-and-deploy/host-on-netlify/#step-2

[caches]
[caches.images]
dir = ':cacheDir/images'

Thanks :slight_smile:

it’s your hugo.toml indicated by project configuration and the link to Hugos caching configuration

When you look above the code block, you see hugo. then toggles for yaml toml json. That tells you the code goes in Hugo configuration file.