Re: is it possible to have freshness information in response headers?
amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop) 08 Jul 2007 16:51:31 +0100
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Miernik <public-g2vOIA7d4f/[email protected]> writes: > Here is what I want to do: I want to turn off add-cache-info which I > currently use to see if the page I am browsing is fresh (x minutes ago > added to the page HTML), and instead I want some Firefox extension to > present that information in Firefox statusbar. > > That's because the AddCacheInfo thing often breaks the page layout. > > For that I would need WWWOFFLE to have the "x minutes ago" information > in some HTTP header in the response it gives to the browser. Is that > possible, and if not now, can you consider to implement it? Have you considered other ways that you can have the information in the HTML rather than in the header and still get access to it? This way you could keep the AddCacheInfo option and just modify the HTML that it adds rather than modify the code to add the header. You could have it in a comment in the HTML and get Firefox to search for that comment. You could have it in some Javascript in the page that puts the information into the status bar. To get the information in a header would take some change to the code of WWWOFFLE. Obviously it isn't impossible, but I would need to be convinced that it was the only way to do what you want and that it was actually useful. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.9/user.html