Page 1 of 1
Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 12:20 am
by studebaker
I just installed IE 9. When I go to my site
http://web.ripnet.com/~mbkerr/index.htm all works well initially. However when I hit "now", the page does not update. I have to "refresh" the page. Using Firefox the "now" button works flawlessly. I'm believe I must change a setting in IE, but despite many attempts, have been unable to effect the required change. Anyone have any suggestions?
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 8:11 am
by mcrossley
Try a Shift-Refresh to bypass the local cache.
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 8:13 am
by steve
It appears they have done "a tremendous number of improvements to the way that Internet Explorer 9 caches content":
http://blogs.msdn.com/b/ie/archive/2010 ... rer-9.aspx
I've only had a quick read of that page, but it appears that for pages which don't explicitly give an expiry time, the default behavious is that IE9 will only check for a fresh page once per session. You can change the behaviour in your browser, but I guess the web pages ought to contain cache control headers.
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 1:25 pm
by studebaker
Thanks Steve, I changed the cache settings in IE 9 to "every time I visit web page" and the page refreshes when I hit the "now" button. Too bad MS hadn't made the options available to specific sites as opposed to all sites.
Studebaker
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 1:51 pm
by nitrx
studebaker wrote:Thanks Steve, I changed the cache settings in IE 9 to "every time I visit web page" and the page refreshes when I hit the "now" button. Too bad MS hadn't made the options available to specific sites as opposed to all sites.
Studebaker
But in that way vistors will not see the new content (if they don't have changed their IE9 settings) I think you have to put these metatags between the <head></head> section so:
<head>
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
</head>
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 3:56 pm
by studebaker
nitrix - thanks for the comments. I was aware of the issue you mentioned, but thought short term I change the cache setting for my own convenience. I'm a newbie to web site setup so it may take a while to make the changes you proposed.
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 4:55 pm
by Synewave
studebaker wrote:I'm a newbie to web site setup so it may take a while to make the changes you proposed.
Shouldn't be too difficult, just edit the indexT.htm file in your Cumulus\web folder using Notepad or Notepad++,
Place these lines
Code: Select all
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
immediately above </head>
Then in Cumulus, File, click on Webdate. That will force Cumulus to upload the edited file to your webserver.
If you want to check it has worked, right click the webpage in a browser and click on 'view source'.
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 6:49 pm
by daj
Remember you would need to do it on every page -- so all 6 xxxT.htm files
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 10:38 pm
by studebaker
Thanks to all for your suggestions. I did make the recommended changes to all 6 xxxT.htm files and uploaded them to the server. Seems I still have to change IE 9 option from "automatic" to "every time I visit" in order for the "now" to update. Here is a copy of the change I made to all 6 T.htm files. Have I missed something? Thanks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta name="description" content="<#location> weather data" />
<meta name="keywords" content="Cumulus, <#location> weather data, weather, data, weather station" />
<title><#location> weather</title>
<link href="weatherstyle.css" rel="stylesheet" type="text/css" />
<meta http-eqiv="Cache-Control" content="no-cache" />
<meta http-eqiv="Pragma" content="no-cache" />
<meta http-eqiv="Expires" content="1" />
</head>
<body>
Re: Cumulus not updating in IE 9
Posted: Tue 01 Mar 2011 10:41 pm
by mcrossley
<meta http-eqiv="Expires" content="1" />
should be?
<meta http-eqiv="Expires" content="-1" />
Re: Cumulus not updating in IE 9
Posted: Wed 02 Mar 2011 8:03 am
by steve
And there's a 'u' in 'equiv'

Re: Cumulus not updating in IE 9
Posted: Wed 02 Mar 2011 3:26 pm
by studebaker
Thanks all!! I seem to have got it right this time. The old eyes aren't what they used to be I guess.