Hey guys -

We've got a site built using AxKit that has some unfortunately slow code on the backend (taglibs)... We're already running a proxy server on port 80, axkit server on 8082, and I'm trying to enable caching on the proxy server. I've tested on non-axkit pages, and the proxy cache is working.

My trouble comes from the fact that all the axkit generated pages have http headers set to disallow caching, so the proxy won't cache them. My config file has AxNoCache set to Off, which is the default anyway. I've narrowed down the issue to a line in Apache::AxKit::XSP::Language, around like 175 or so:
$r->no_cache(1);


This seems to be trying to prevent caching of the output of the xsp processor, which is probably right - otherwise the page would never change? If I remove this line, caching is allowed in the http headers so the proxy cache starts working, but the axkit server never gives a new version of the page...

What I'm after is a way to essentially cache pages for maybe 10 minutes, and then get a new version from the axkit server. The proxy (correctly) won't cache them unless the http headers say it can, but I can't find a way to turn off those headers without turning on too much caching in axkit.

What's the answer here? I've been fiddling for several hours and can't get a lock on it...

Thanks,
Nate


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



Reply via email to