joshbuchea / HEAD

A simple guide to HTML <head> elements
https://htmlhead.dev
30k stars 1.92k forks source link

add cache-control meta tags #180

Closed skb1129 closed 7 years ago

skb1129 commented 7 years ago

I added Cache-Control, Pragma and Expires meta tags that are used to control the browser cache of the webpage.

scottaohara commented 7 years ago

From the quick research I've done on them, they appear to be primarily supported by Internet Explorer (no mention of Edge, as the published dates of the documentation I found predate Edge).

Do you have any current resources that indicate that these meta tags are recognized beyond Internet Explorer and should not be considered deprecated tags?

Thanks!

skb1129 commented 7 years ago

I dig some more information and found out that these doesn't work anymore. To control the cache, we must send the request in HTTP header.