In message <[EMAIL PROTECTED]>, Ricardo Newbery writes:
>I'm looking at the default vcl and I see the following stanza:
>
> sub vcl_hit {
> if (!obj.cacheable) {
> pass;
> }
> deliver;
An object can be cached as "not cacheable".
When we have a cache-miss, the client goes to the backend. If another
client asks for the same object before that first client has got a
response from the backend, it is put on hold.
If the response was not cacheable, we insert a "not cacheable" object,
so that clients that ask for this object go to vcl_hit and hit the
backend right away, even if other clients are already hitting the
backend for that object.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc