should not the backend tell if the response really depends on the context hash? if its a static page, no need to cache it separately. and it would make the varnish configuration less hacky.