html5 meta tag cache-control no longer valid?

前端 未结 4 1402
抹茶落季
抹茶落季 2020-12-08 19:40

How do I define


in HTML5? It is no longer valid according to the W3C Vali

4条回答
  •  感情败类
    2020-12-08 20:09

    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.

提交回复
热议问题