score:3

Accepted answer

when using vercel you can configure the headers in your vercel.json file.

{
    "headers": [
        {
            "source": "/(.*)",
            "headers" : [
                {
                    "key" : "cache-control",
                    "value" : "public, max-age=31536000, immutable"
                }
            ]
        }
    ]
}

Related Query

More Query from same tag