asp-append-version
tag helper can generate one hash value from the file.once the field changes,the hash value also changed.
so if the hash value is not changed that means the field is not changed,so the broswer use the cache!
the html resource
<img src="/a-1.png?v=Uy2_qZzGFCxgydQJv9SbM0F5z4K7BxgfNoW8alC2D5A">
<img src="~/a-1.png" asp-append-version="true" />
asp-append-version
tag helper can generate one hash value from the file.once the field changes,the hash value also changed. so if the hash value is not changed that means the field is not changed,so the broswer use the cache!the html resource
<img src="/a-1.png?v=Uy2_qZzGFCxgydQJv9SbM0F5z4K7BxgfNoW8alC2D5A">