[mrtg] Re: MRTG & PNG images: browser failing to refresh

Brady, Jeff JBrady at midatlantic.aaa.com
Wed Oct 11 14:50:59 MEST 2000


I had a similar problem, even if the page was set to expire the local
browser was caching the images.  On IE you go to Tools, Internet Options,
Temporary Files Settings, click the radio button for "check for new versions
every visit to the page."  With this set IE will never used cached info if
the page can be reached, it will always pull the entire page.

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Rainer Bawidamann
Sent: Wednesday, October 11, 2000 6:19 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG & PNG images: browser failing to refresh



In article <39E33F82.3637896B at spawar.navy.mil>,
	ganzer at spawar.navy.mil ("Mark T. Ganzer") writes:
> 
> While on the subject of GIF vs PNG images, has anyone using MRTG with
> PNG images had problems getting their web browsers to refresh
> automatically (or even manually)?  I am running MRTG 2.8.11 on a Sun
> Enterprise Server and Netscape Enterprise web server. The index pages
> and interface display just fine, however after that they will not
> update. About the only way I can force a refresh is to clear the browser
> cache, then reload the pages. Kind of a pain...

Do you use only mrtg or in combination with 14all (UseRRDTool: yes)?

If you use only mrtg the html pages should have "Refresh" and "Expires"
headers. If you enable "WriteExpires: 1" you will get "meta" files for
your graph files (i.e. for a file "x-daily.png" you will get a
"x-daily.png.meta"). You have to tell your web server to use these files
(apache: MetaFiles: on).

Rainer
-- 
Rainer.Bawidamann at rz.uni-ulm.de

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list