make module cache just about everything, but never return items
[httpd-crcsyncproxy.git] / crccache / doc / etc / apache2 / sites-available / default
blobf5db11e8bb5f593f81bc16b07b3098132f5d1493
1 <VirtualHost *:8080>
2         ServerName localhost
3         CRCClientEnable crccache_client /
5         # Make sure that gzip/deflate encoding
6         # is removed from the content before it is stored
7         # in the cache. Otherwise, crccache won't have a good
8         # basis for the crcsync based delta handling
9         SetOutputFilter INFLATE
11         # Enable the crccache_client, which does the real work
12         CacheEnable crccache_client /
13         # Force the cache to store as much as possible
14         # so that the chance for crccache of having a 
15         # suitable base-page for the delta request is
16         # maximized
17         CacheIgnoreCacheControl on
18         CacheIgnoreNoLastMod on
19         CacheDefaultExpire 0
20         CacheIgnoreQueryString on
21         # warning: enabling CacheStoreNoStore might store sensitive info in the cache
22         CacheStoreNoStore on
23         # warning: enabling CacheStorePrivate data will store private data in the cache
24         #  ideally this should only be done for a private cache and not for a shared cache
25         #  in a proxy. However, nowadays, many dynamic sites use 'private' caching 
26         #  to prevent any caching at all, which breaks the whole idea of using http-rsync
27         #  based delta updates
28         CacheStorePrivate on
29         ErrorLog /var/log/apache2/crccache_client.log
30         LogLevel debug
31         ServerAdmin webmaster@localhost
32         ServerName localhost
34         ProxyRequests On
35         ProxyVia On
36         ProxyRemote * http://localhost:8081/
37         <Proxy *>
38                 Order deny,allow
39                 Deny from all
40                 Allow from 127.0.0.1
41         </Proxy> 
42 </VirtualHost>