Serve static assets with cache policy


I am working on improving the web performance on my side.

One of the suggestions from Chrome lighthouse scores is adding cache policy to static assets.

I tried adding it via .htaccess but still getting speed improvement suggestion. Can this be done via netlify?

Any suggestions will be really helpful

This is the URL:



We would advise against that:

But if you want to do it, you need to follow: