Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

How do I add “Expires” Headers? – Website Performance Enhancement

#1544
Avatar photo[anonymous]

I am using Netlify to host my site. You can add expired headers by adding a _headers.toml file in the root of your site.

https://docs.netlify.com/routing/headers/

Attaching a file for your ref. Modify it. ( use your site name.)

Download the file from here and edit it using any text editor. This should solve some issues but not all.

https://send.firefox.com/download/1cbbcef009f5e425/#VrY4_qYfLwAN1QkHEDAZ9A