Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

META HTTP-EQUIV - to refresh

 
Bala Krishniah
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to refresh the html page to eliminate the caching.
I was going through the HTTP doc. and foind that there are
(1) <META HTTP-EQUIV="Expires" CONTENT="0">
(2) <META http-equiv="Pragma" content="no-cache">
(3) <META http-equiv="Cache-Control" content="no-cache">
these three option.
The doc. says that HTTP/1.0 caches might not implement Cache-Control and might only implement Pragma: no-cache
So that means I need to use both (2) (3) and also (1).
Because if I doont use (1) its not refreshing. But then I dont know what exactly (2) (#) is used for.
Then again I also need to useing the META HTTP-EQUIV tag to set the "content-type"...
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=iso-8859-1">
Can I use HTTP-EQUIV to set both (1)'content-type' and (2) the abover three options to eliminate caching problem
Thanks
 
Randall Twede
Ranch Hand
Posts: 4481
3
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would just try it and see.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic