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

Rainer Bawidamann Rainer.Bawidamann at rz.uni-ulm.de
Wed Oct 11 12:19:04 MEST 2000


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



More information about the mrtg mailing list