In message <[EMAIL PROTECTED]>, "Jack
 Tuhman" writes:

>1) if a user presses refresh or F5, they do not see any images, if they
>click on a link, they see an image.

I will need more debugging info to find out what is going on.
In particular a varnishlog output.

>2) If I wanted Varnish to cache the php pages (right now I pass them) but
>clear its cache every 30 seconds, is there an easy way to do this?

In the vcl code you included, you set the TTL to 3 minutes minimum,
you could do something like:

        if (obj.url ~ "\.php") {
                set obj.ttl = 30s;
        }

>sub vcl_recv {
>        if (req.request == "POST") {
>                pipe;
>        }

If you use a recent version of -trunk, you can & should use pass here.

-- 
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

Reply via email to