aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/Zoned_ikiwiki.mdwn
diff options
context:
space:
mode:
authorhttp://anastigmatix.net/ <http://anastigmatix.net/@web>2014-10-19 14:40:02 -0400
committeradmin <admin@branchable.com>2014-10-19 14:40:02 -0400
commit18f41b73da5adc07c8d24b897ed6d725d7c0aef8 (patch)
tree4d7da06cb7a077e7de314f5b43e0c7570d1b38b5 /doc/todo/Zoned_ikiwiki.mdwn
parentbc509a3119ee5c3704ad47e920bbba28f0b052f8 (diff)
downloadikiwiki-18f41b73da5adc07c8d24b897ed6d725d7c0aef8.tar
ikiwiki-18f41b73da5adc07c8d24b897ed6d725d7c0aef8.tar.gz
more on caching behavior
Diffstat (limited to 'doc/todo/Zoned_ikiwiki.mdwn')
-rw-r--r--doc/todo/Zoned_ikiwiki.mdwn16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/todo/Zoned_ikiwiki.mdwn b/doc/todo/Zoned_ikiwiki.mdwn
index d618aec3c..ee0cdfe61 100644
--- a/doc/todo/Zoned_ikiwiki.mdwn
+++ b/doc/todo/Zoned_ikiwiki.mdwn
@@ -67,6 +67,12 @@ a private zone needs only a `.htaccess` file with `Deny from All` or
`Require all denied` (or other equivalent directive for the `http` server
in use), and a `403` error handler of `{$cgiurl}?do=view`.
+The plugin emits response headers intended to discourage non-private caches
+from retaining the retrieved content. (They are already supposed to avoid
+caching any response to a request with an `Authorization` header, but this
+plugin can be used with any ikiwiki-supported auth method, not all of which
+require that header.)
+
A plugin like [[plugins/contrib/pagespec_alias]] can be very useful for
defining a group of authorized users:
@@ -91,7 +97,15 @@ A plugin implementing a [FastCGI](http://www.fastcgi.com/)
[Authorizer](http://www.fastcgi.com/drupal/node/6?q=node/22#S6.3) could provide
the same benefits as [[plugins/contrib/signinview]] (any ikiwiki-supported auth
method, simple zone definition with [[ikiwiki/PageSpec]]s) with less overhead
-per access.
+per access. It would also be simpler than [[plugins/contrib/signinview]] by
+leaving it as the `http` server's responsibility to generate the proper headers
+and serve the content.
+
+Caching proxies are already supposed to avoid caching any response to a request
+that included an `Authorization` header. For some ikiwiki-supported auth methods,
+that header might not be needed in the request, and care may be needed to configure
+the server to emit other necessary response headers to discourage caching of
+content from a private zone.
## Obstacles