What is the difference between CACHE_ACCEPT and CACHE_ACCEPT_SESSION? DarkSpirit. El Thu, 28 Oct 2004 08:05:20 -0400 Brian Hechinger <wonko@4amlunch.net> escribio:
On Thu, Oct 28, 2004 at 11:02:17AM +0200, Roberto A. Foglietta wrote:
Obviously to respect Dillo's team decision to do not allow refresh as default policy I make it optional by setting a flag from command line
speaking of patches, i have finished the caching work yesterday, and need some people to look at it and test it.
it uses .dillo/cacherc to control which sites are allowed to set the browser to not cache the pages there, and also, it only currently honors Pragma no-cache.
i want to modify the control functions to live in a public place and be generic enough that they can be used for anything, since all i did was copy them out of cookies.c and changed all occurances of Cookie or Cookies to Cache so the functions themselves don't change.
once done, this could very easily be applied to the refresh tag to control that, and in fact, could be applied to any tag whatsoever at that point.
here is the patch, let me know what you think, it patches against:
/cache.c/1.74/Mon Oct 25 22:49:26 2004// /cache.h/1.18/Thu Oct 21 14:45:51 2004// /html.c/1.219/Thu Oct 21 22:48:54 2004//
-brian -- IHTFP: I firmly believe that people dumber than me exist solely for my amusement. IHTFP: Okay, maybe not solely for my amusement. Some of them make good cake.