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