16

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?

Mithun Sreedharan
  • 49,883
  • 70
  • 181
  • 236
  • 1
    The way I see it, meta tags are only used for optional information, or at least that's how everyone uses them anymore. – animuson Jun 23 '10 at 07:04

1 Answers1

18

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).

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335