On Tue, 11 Dec 2001, Gavin Carr wrote:

> The problem is AxKit doesn't include the query path in it's caching hash
> function by default. You can force it yourself by including a custom
> handler before AxKit in your PerlHandler. Something as simple as the
> following seems to work fine:
>
> sub handler
> {
>     my $r = shift;
>     my $apr = Apache::Request->instance($r);
>     my $parms = $apr->parms();
>     $r->notes('axkit_cache_extra', '?' . join('|',%$parms));
>     return DECLINED;
> }

This has almost become an FAQ, so I've added a Plugin in the Plugins
directory that does (pretty much) the above. That way it's as simple as:

  AxAddPlugin Apache::AxKit::Plugins::QueryStringCache

-- 
<!-- Matt -->
<:->Get a smart net</:->


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to