[added documentation for HTTP caching dan**20031219080657] { hunk ./NEWS 9 +* Some notes on HTTP caching added to documentation + hunk ./TODO 45 +** HTTP caching + +Documentation should explain use of Vary + addfile ./doc/caching.html hunk ./doc/caching.html 1 - +Araneida - Caching + +Araneida - Caching + + +

Caching

+ +

Proper use of HTTP caching can make your application run faster and +use less bandwidth - especially when using Apache mod_proxy - and is +also friendlier to the rest of the Internet. Improper use of cachinbg +can lead to stale pages or to visitiors getting content intended for +other people. + +

Araneida's REQUEST-SEND-HEADERS allows all HTTP response headers to +be sent, giving you full control over caching. You are advised to +read RFC 2616 for the detail, but here are a few tips: + +

hunk ./doc/handlers.html 80 -if the response has been sent before. If it sends a 304, it will then +if the response has been sent already. If it sends a 304, it will then hunk ./doc/handlers.html 83 -UNWIND-PROTECT. +UNWIND-PROTECT. See the documentation on HTTP +caching for more detail. hunk ./doc/listeners.html 45 -can safely be displayed to the browser without bypassing the proxy. +can safely be displayed to the browser and will not cause subsequent +requests to bypass the proxy. hunk ./doc/listeners.html 52 +

Apache mod_proxy can also cache your responses when so configured. +See the documentation on HTTP caching for details. hunk ./doc/reference.html 15 +

  • HTTP caching + }