Html5 meta tag cache-control no longer valid

htmlmeta-tags

How do I define

<meta http-equiv="cache-control" content="no-cache" />

in HTML5? It is no longer valid according to the W3C Validator and the documentation.

Best Solution

Putting caching instructions into meta tags is not a good idea, because although browsers may read them, proxies won't. For that reason, they are invalid and you should send caching instructions as real HTTP headers.