views:

24

answers:

1
+1  Q: 

HTML Cache control

What is the difference between below 3 meta tags?

<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="Expires" CONTENT="-1">

Do I need to use all those tags to avoid browser caching?

+2  A: 

See the Caching Tutorial for Web Authors and Webmasters which explains about all the different cache control headers (especially the part the explains that those meta tags are largely useless and real HTTP headers are the way forwards).

David Dorward