question marks in the url
Dag-Erling Smørgrav
des at linpro.no
Wed Jun 13 10:37:34 CEST 2007
"Brian Ott" <bott505 at gmail.com> writes:
> We have urls: http://xxxx.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
More information about the varnish-dev
mailing list