ben syverson wrote:

[...]

The problem with this is that 99% of the time, the document won't contain any of the new node names, so mod_perl is wasting most of its time serving up cached HTML.

I have two suggestions,

1) Use a reverse proxy/cache and send proper Cache-Control and Etag/Content-Length headers, eg:

  Last-Modified: Fri, 04 Feb 2005 11:11:11 GMT
  Cache-Control: public, must-revalidate

2) Use a 307 Temporary Redirect and let thttpd serve it.

  307 Temporary Redirect
  Location: http://static.domain.com/WikiPage.html


RFC2616 13 Caching in HTTP http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13

RFC2616 10.3.8 307 Temporary Redirect
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.8

--

Regards
Christian Hansen



Reply via email to