I need to put a cache-control = “no-cache” only in files .js I need to put “public, max-age=31536000”.
In this topic, It say to use regex. But I tried to use but It didn’t work.
Any ideia how to do this?
Conditionally sending a Cache-Control header?