On 6 Jul 2004, at 21:05, Nathan Schroeder wrote:

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

Implement a has_changed($mtime) function in your XSP page:

<xsp:page>
  <xsp:logic>
    sub has_changed {
      my ($package, $mtime) = @_;
      ...
    }
  </xsp:logic>
  <output>
   ...
  </output>
</xsp:page>

(namespaces removed for simplicity)


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



Reply via email to