“No cache” tag is not getting recognized by Chrome
I have been testing out Chrome on my site which is having a "no-cache" tag I have found that the Chrome is caching the site but then the problem is that the changes are not taking place when the page is refreshing the site, I have checked out in the Firefox and it is working fine there but then not with the chrome, below is the tag syntax in my case:
Quote:
Reply With Quote
#2
Unread 01-03-2012
Kane Kane is offline
Member
Join Date: Feb 2012
Posts: 54
Re: “No cache” tag is not getting recognized by Chrome
Even I need some help regarding the same I have tried using the http headers but then I am getting the same response, in my case I am having a PHP page and it starts as followed:
header ("Content-type: text/html; charset=utf-8");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 march 2012 05:00:00 GMT");
Reply With Quote
#3
Unread 01-03-2012
SanjoyChat SanjoyChat is offline
Member
Join Date: Oct 2011
Posts: 91
Re: “No cache” tag is not getting recognized by Chrome
I was facing the same issue and I have not yet able to get "cache-control: no-cache" working fine but then the Google Chrome does not seems to be caring about the same, anyways I think that you should try out "cache-control: no-store" and it is working fine. I also wanted to add that I am still keeping the headers as some browsers respond differently.
Reply With Quote
#4
Unread 01-03-2012
Jamna Behn Jamna Behn is offline
Member
Join Date: Dec 2011
Posts: 33
Re: “No cache” tag is not getting recognized by Chrome
You can count me in as well, I am not able to get the below one working, is there anyone who can help me out:
Quote:
Reply With Quote
#5
Unread 01-03-2012
AbiaA AbiaA is offline
Member
Join Date: Nov 2011
Posts: 80
Re: “No cache” tag is not getting recognized by Chrome
I think that I can help you out here, I have just got this working:
Quote:
Just try out the same guys and then let me know if it is helping you as well.
Reply With Quote
#6
Unread 01-03-2012
eDDy.Gueraro eDDy.Gueraro is offline
Member
Join Date: Feb 2012
Posts: 59
Re: “No cache” tag is not getting recognized by Chrome
I think that you might be lucky with the same as I have tried it out and it does not seems to be working for me, just wanted to know if there is anyone else who have got the above one working??? Or can anyone help me out with the syntax I have posted above??
Reply With Quote
#7
Unread 04-03-2012
Kh@LnaYak Kh@LnaYak is offline
Member
Join Date: Nov 2011
Posts: 377
Re: “No cache” tag is not getting recognized by Chrome
I am not aware of the above ones but then I have got the below one to be working with asp.net:
Response.Buffer = True
Response.ExpiresAbsolute = Now()
Response.Expires = -1
Response.CacheControl = "no-cache"
Page.Response.Cache.SetNoStore
No comments:
Post a Comment