varnishhist stats

Sheldon Dsouza sheldond at gmail.com
Tue Jun 22 12:18:31 CEST 2010


Hi Florian,

Thanks for the reply, its works now. I have across another problem, our
backend portal requires a login and password and tracks users sessions.

How do you prevent these authenticated sessions from getting cached?

Regards,
Sheldon

On Tue, Jun 22, 2010 at 3:37 PM, Florian Holzhauer <fh-varnish at fholzhauer.de
> wrote:

> Am 22.06.10 11:21, schrieb Sheldon Dsouza:
>
>  I have installed Varnish on my production server, the configuration is
>> attached. I tried to get a few stats using the varnishhist command,
>> according to the stats a pipe "|" indicates cache hits
>>
>> I dont see any pipes in my display, i have attached the out of the stats
>> in the varnish.txt file. What am i doing wrong?
>>
>
> On a first brief look:
> If I do not recall it completely wrong, the error is the return(pass) as
> the default in vcl_fetch.
>
> "In this mode, the request is passed on to the backend, and the backend's
> response is passed on to the client, but is not entered into the cache.
> Subsequent requests submitted over the same client connection are handled
> normally." - so basically, you are bypassing the cache.
>
> The correct should be return (deliver);
>
> Cheers,
> Florian.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100622/9b9ddb2a/attachment-0003.html>


More information about the varnish-misc mailing list