RE: no_cache(1) and still cached?

2003-07-28 Thread Frank Maas
 On Fri, 2003-07-25 at 04:32, Frank Maas wrote:
 Come to think of it, I have never had problems with mod_proxy caching
 thing I didn't want cached.  Quite the opposite -- I had to be very
 careful with Expires headers to get anything cached at all.
 
 I think you might be mis-diagnosing the problem here.  Maybe it's an
 issue on the backend instead. 

Well, I thought that too, but couldn't get a grip on it. Picture the
situation I described before. Whenever a page is served outside it's
template, a logmessage is generated. Now when I see a page without
template on my screen (wrong) and I look in the logfile I see that 
only the allowed address is written as being served.
That's why I thought there was some optimisation in the cache engine
that limited the number of equal requests to the backend to one for
each URI. This would then even go beyond any headers, but more on the
principle of 'the page served at exactly the same moment is the same
page'...?

--Frank

PS: I now removed the caching mechanism from the setup and everything 
is working fine through the proxy. Whenever I cross this bridge again
I will start looking more closely.


RE: no_cache(1) and still cached?

2003-07-25 Thread Perrin Harkins
On Fri, 2003-07-25 at 04:32, Frank Maas wrote:
 But the idea of setting the Expiry header back in time is appealing...

Come to think of it, I have never had problems with mod_proxy caching
thing I didn't want cached.  Quite the opposite -- I had to be very
careful with Expires headers to get anything cached at all.

I think you might be mis-diagnosing the problem here.  Maybe it's an
issue on the backend instead.

- Perrin


no_cache(1) and still cached?

2003-07-24 Thread Frank Maas
Hi,

Recently I found some strange behaviour of the caching-functionality of
Apache. I had configured one httpd as caching proxy and a second one
creating the pages. Two kind of pages are created: dynamic ones (with
no_cache(1)) and static ones (with an expiry set to some minutes or
hours).
What I found was that sometimes users got served 'cached' dynamic pages.
Although the server should not cache the page it looked like this happened
whenever two requests were received at (nearly) the same time by the server.
Has anyone of you experienced this before and does this harm current ideas
about caching proxies?

--Frank



Re: no_cache(1) and still cached?

2003-07-24 Thread Perrin Harkins
On Thu, 2003-07-24 at 09:55, Frank Maas wrote:
 What I found was that sometimes users got served 'cached' dynamic pages.
 Although the server should not cache the page it looked like this happened
 whenever two requests were received at (nearly) the same time by the server.

What happens if you use Expires headers instead of the no_cache() stuff?

- Perrin