I tried both with netlify.toml and _headers files and uploaded them in the root directory via the File manager.
I confirmed that the custom header caching code is right via Netlify’s playground.
But either of these files don’t seem to have been uploaded to the site root as I can’t access them via their URL or if they have been uploaded and I can’t access them via the browser, they still don’t seem to be working. Because no custom caching header seems to have been added to the site. I can’t access the site via ftp to check as netlify does not support ftp.
So what am I doing wrong? Why are they not working? Netlify says they should be in the site root. Is Publii not uploading either of these two files even if I upload them to the file manager? Thanks in advance.