Micha <[EMAIL PROTECTED]> writes: > I got an dontcache (can't cache or request offline) failure for > > http://ep.espacenet.com/search97cgi/s97_cgi.exe?Action=FormGen&Template=ep/EN/quickhelp.hts&AID=2&AACT=Bibliographic > data > > and wonder now about my dontcache section since there's no espacenet > mentioned.
There could be other settings in the DontGet section that will stop this from being fetched. Any of the following would stop it. *://*/search97cgi/* *://*/*?Action=FormGen* If you have a problem where you are not sure what is stopping the page from being fetched you should try and work out which option in the configuration file it is. It might be important to solving other problems. > But look at this example, which was intendet to leave out kwiki edit > actions but still cache the sandbox, and FormattingRules: > > # still cache > !http://kwiki.org/index.cgi?SandBox > !http://kwiki.org/index.cgi?action=edit&page_id=SandBox > !http://kwiki.org/index.cgi?action=edit&page_id=KwikiFormattingRules > # Don't cache: > http://kwiki.org/index.cgi?action=edit&* > http://kwiki.org/index.cgi?!action=edit&page_id=SandBox!POST:* > > But would it work at all ? At second look, it might say 'don't cache > anything that's not like index.cgi?Sandbox' which would be anything > not matched anywhere before in the whole config ? No, this is not how it works. When a request comes in that URL is matched against all of the entries in the configuration file. For the first config file entry that matches it will not be cached unless the rule that was matched had a '!' at the beginning. This means that the rule !http://kwiki.org/index.cgi?SandBox will only match that URL, it does not do anything for any other URL on the site. The other rules in the file will handle the other URLs. > I don't get dontcache errors often, at strange times, though. > > > The wwwoffle index shows > /index.cgi?KwikiFormattingRules > /index.cgi?action=edit&page_id=KwikiFormattingRules > /index.cgi?action=edit&page_id=SandBox > /index.cgi?!action=edit&page_id=SandBox!POST:BJdjCGSpGT6m1qQmYlto9g.40ffde34 > > so it seems to work at least for kwiki. > > I just have to try out how to exclude the last entry also, in the future. > Well, thats weird. Clicking this entry shows a 'dontcache' failure also. > hmmm ... maybe it was cached before i fiddled with the dontcache > section. Lets' see..oops. I see any edit button no more on the > http://kwiki pages. And nothing in their news indicating a > change...so ? The last entry is a special internal WWWOFFLE URL. It corresponds to a form sent to the URL http://kwiki.org/index.cgi?SandBox using the POST method. If the URL is cached then the results of these forms will also be cached. The rule that you have to match URLs like this will not work. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop [EMAIL PROTECTED] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html
