I want to configure custom response headers for my website. But things aren’t going as intended. I want my to configure custom header for bundle.js file and all files inside images folder. The bundle js file and images directory are in the dist directory which I have deployed. In my netlify.toml file I have done this
[[headers]]
for = "/bundle.js"
[headers.values]
cache-control = "max-age=31536000"
for = "/images/*"
[headers.values]
cache-control = "max-age=31536000"