You can ban (invalidate) `http://images.com/123.jpg` everytime 
`http://fancyprocessing.com/processimage?http://images.com/123.jpg` is fetched 
from the backend (I believe).

I've never had to do this personally, but the documentation on bans might be of 
use.

https://www.varnish-cache.org/docs/trunk/tutorial/purging.html

~Paul

On Thu, Mar 22, 2012 at 11:25:07AM -0700, Rares Vernica wrote:
> Hello,
>
> I am new to Varnish so so the question might me a bit poorly stated. I am
> trying to configure Varnish so that serving an URL from cache depends on
> the freshness of another URL given as argument to the original URL.
>
> For example, the original URL might look like:
>
>   http://fancyprocessing.com/processimage?http://images.com/123.jpg
>
> If I have seen this URL before and cached its result, I would like
> Varnish to use the cached data only if:
>
>    http://images.com/123.jpg
>
> has not changed since the result was cached.
>
> Any pointers would be greatly appreciated.
>
> Thanks!
> Rares
>
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

________________________________

This message may contain confidential or privileged information. If you are not 
the intended recipient, please advise us immediately and delete this message. 
See http://www.datapipe.com/legal/email_disclaimer/ for further information on 
confidentiality and the risks of non-secure electronic communication. If you 
cannot access these links, please notify us by reply message and we will send 
the contents to you.

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to