Closed dumblob closed 9 years ago
It's not in the html 5 spec, and stackoverflow suggests that the corresponding http header should be used instead.
Both is true. It's a poor, but very handy solution in cases, when you can't construct http header (which is surprisingly often). Yes, it undermines the idea of caching on the pathway (because cache servers usually don't support deep content inspection), but if there is no other option...
But I agree, that we should leave the web.html
module HTML5-compliant and thus I'm closing this ticket.
As a solution, one can use text('<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT">')
instead.
Expires is a useful meta tag: