<tt><font size=2>&gt; What cache-control headers does the back-end domino
set? You can see<br>
&gt; this with a tool like fiddler or Firebug... that makes all the<br>
&gt; difference in how you need to configure nginx to override its behavior<br>
&gt; if it is undesirable.<br>
</font></tt>
<br><tt><font size=2>Unfortunately, Domino is sort of braind dead, no cache-control
unless you make your application to give them. AFAIK.</font></tt>
<br><tt><font size=2>&nbsp;<br>
&gt; If all of the domino stuff is under a small set of URLs, you can<br>
&gt; simply add a location for those that does not have &quot;proxy_cache
one;&quot;<br>
&gt; which is far simpler than trying to override the back-end's<br>
&gt; cache-control headers. This means you will need to move your<br>
&gt; &quot;proxy_cache one;&quot; from the http block to any inner location
blocks<br>
&gt; that need caching.<br>
</font></tt>
<br><tt><font size=2>Unfortunately, there is no easy way to do that, no
small set, and urls are pretty dynamics, well, also application based,
so one application can have very different url set than some other application.
Its pretty pain, because there are no direct way to know which is application
and which is admin functions, etc, because it really depends much how application
is coded. </font></tt>
<br>
<br><tt><font size=2>&gt; I do not think proxy_* directives are valid inside
an &quot;if&quot; block. Did<br>
&gt; you try it?<br>
</font></tt>
<br><tt><font size=2>Yep, you are right, you cant have them on if-block.
</font></tt>
<br>
<br><tt><font size=2>Basicly currently if you have IBM Lotus Domino backends,
you cant use proxy_cache, which sucks, because those applications do use
lots of upstream resources, and which by using even small caches can be
reduced much... Basicly you have to disable caching if you want your web
pages to behave without problems. </font></tt>
<br>
<br><tt><font size=2>I dont have lots of ideas how to fix, but what if
it was possible to disable nginx caching based if user has some cookie
set, i mean as if there was no proxy_cache variables set at all, so it
always did fetch data from upstream if certain cookie is on. Is this even
possible to code on nginx? Unfortunately my C coding skills are somewhat
not-exists. Because Domino sets session cookie when user is authenticated,
that way nginx would know if user is anonymous or some authenticated user
that is prob. doing some updates, like new docs, etc. to domino application,
so it whould prob. be anyway not to cache hes content...</font></tt>
<br>
<br><font size=2 face="sans-serif"><br>
Terveisin/Regards,<br>
 &nbsp; Pekka Panula, Sofor Oy - Jatkuvat palvelut<br>
<br>
</font>