What is in your error_log for just 1 request when Debug is set
to -3 ?  This debugging with you might take quite a bit, so 
might be better taking this offline.  No one else on the list
has this feature yet besides you & me.

--Josh

Philip Mak wrote:
> 
> I've been trying out the new $Response->Include caching feature in the
> development version of Apache::ASP, but I can't get even a simple example
> to work.
> 
> My script to be cached is called series2.asp. I made another script
> (easycache.asp) that simply calls series2.asp using a cached
> $Response->Include:
> 
> <%
> $Response->Include({
>   File => 'series2.asp',
>   Cache => 1,
>   Expires => 3600,
>   Key => $Request->QueryString,
> });
> %>
> 
> When I run "ab -n 500 -c 100" (Apache Benchmark, 500 requests total, 100
> at a time), easycache.asp gets 18 requests per second, while series2.asp
> gets 36 requests per second (i.e. the cached page is slower)!
> 
> I suspect that it is not being cached, because when I look in
> $StateDir/cache, there is Response.dir (0 bytes), Response.lock (0 bytes)
> and Response.pag (1024 bytes); that's not large enough to be holding
> cached data from my page (about 5k bytes).
> 
> Any idea what I did wrong? I've set Cache to 1 and Expires to 3600, which
> should mean that any page is cached for 3600 seconds.
>

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

Reply via email to