Hello again

> > 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.

ok. Just to make it sure: When an !URL entry is matched, the search for 
matching entries is
finished like usual, right ?


> > 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
 
> 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.
I am not sure if i understand. By URL you mean all index.cgi?Sandbox pages ?
Is there a way to avoid caching of edit (POST) actions, but preserve all other 
(like main/index) pages ?


Reply via email to