retitle #307966 munin: cgi mode says "304" to an If-Modified-Since request thanks
On Fri, May 06, 2005 at 11:54:19PM +0200, Marc Haber wrote: > when using CGI mode, a simple reload done in konqueror will deliver > the graphs that are already plotted, even if they're half an hour old. > A shift-reload is needed to actually plot new graphs. > > I don't know what's the difference between reload and shift-reload from > a protocol point of view, but the CGI should detect the "png outdated" > situation even during a "normal" reload. I have to apologize for this misleading report. The actual situation is as follows: When a browser (here: konqueror) is pointed towards a munin page (for example http://localhost/munin/localdomain/localhost.localdomain.html), the browser issues a HTTP GET request with an "If-Modified-Since" header with the timestamp of the graph that was locally cached. The munin CGI replies with "304", causing the browser to display the outdated picture from its cache. When "Reload" is clicked, the browser issues the same request without the If-Modified-Since header. The munin CGI correctly sends the graph then. To me, this looks like a bug in munin's If-Modified-Since handling, which should be fixed. I can reproduce the bug on command, so I can help debugging, if that is desired. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

