For this, meta tags are enough for you. However, for resources, it can change. Just attach the variable to the file name, for example:
var img = new Image(); img.src = 'image.jpg?'+ Math.random()
or
img.src = 'image.jpg?'+ new Date().getTime()
if you use javascript to load resources. Or you can write a rule for the Apache mod_rewrite engine to automatically write a random hash.
However, I believe that there should be a more elegant solution
source share