Re: question marks in the url

2007-06-13 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Bria
n Ott" writes:
>We have urls: http://.yyy.com/test.jpg?tsp=11301981
>
>the tsp gets updated when the picture is updated, its a timestamp.
>this way the user doesnt have to refresh their browser to see new
>pictures.
>
>varnish doesnt cache urls with ? in them, it appears.

Varnish doesn't care about '?', but if you have cookies it will
not cache.


-- 
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-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: question marks in the url

2007-06-13 Thread Dag-Erling Smørgrav
"Brian Ott" <[EMAIL PROTECTED]> writes:
> We have urls: http://.yyy.com/test.jpg?tsp=11301981
>
> the tsp gets updated when the picture is updated, its a timestamp.
> this way the user doesnt have to refresh their browser to see new
> pictures.

This is a very strange way of doing things.  Far better to drop the
timestamp, set a long expiry time on the image and invalidate the URL in
Varnish when the picture is updated.

> varnish doesnt cache urls with ? in them, it appears.

Yes, it does.  There must be something else at play - most likely
cookies.  Since you didn't provide logs, there is no way to tell exactly
what is going on.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


question marks in the url

2007-06-13 Thread Brian Ott
We have urls: http://.yyy.com/test.jpg?tsp=11301981

the tsp gets updated when the picture is updated, its a timestamp.
this way the user doesnt have to refresh their browser to see new
pictures.

varnish doesnt cache urls with ? in them, it appears.

How can I make it cache this url?
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev