From: Gary B. <ga...@in...> - 2001-11-08 23:50:48
|
On Thu, 8 Nov 2001, Gary Benson wrote: > If you are running your PhpWiki on your own webserver then you can put > a reverse-proxy in front of it. This is what /. does if I remember > correctly -- all pages have a five minute expiry time or something. In fact, you could do away with the expiry time altogether if you hacked PhpWiki to emit the relevant cache control headers and respond to the requests appropriatly. Look at http://www.w3.org/Protocols/rfc2068/rfc2068 for the full gory details but basically you add ETag: and Last-modified: headers on pages you send, and respond to If-Modified-Since: and If-None-Match: headers in the requests (by returning a 304 Not Modified instead of the page itself). Oh, and /. doesn't have a proxy but they are considering it: http://slashdot.org/article.pl?sid=01/09/13/154222&mode=thread |