On Fri, 13 Oct 2000, Doug MacEachern wrote:
> On Sat, 30 Sep 2000, Yann Ramin wrote:
>
> > #0 0x80a2605 in ap_table_get ()
> > #1 0x808961e in XS_Apache__Table_FETCH ()
>
> > package Magrathea::WebAPI;
> ...
> > my $driver;
>
> you cannot cache data that is tied to $r (e.g., notes table), because
> the $r->pool is cleared after each request. string values are ok, but not
> objects such as Apache::Table objects which are tied to the r->pool.
just to be clear on this: it's ok to cache things such as Apache::Table
for the lifetime of a request (example, between request phases), but once
the request is over (and r->pool is cleared), such a cache needs to be
flushed.