On Wed, Nov 2, 2011 at 1:15 AM, Thiago Moraes <[email protected]> wrote:
> I'm currently studying how to deploy varnish over a backend which responds > to REST queries such as: > > http://myserver.com/myFile?range[0:50] > > Suppose that the maximum range from myFile is [0:100]. In case I cache the > entire file, is there any way I can slice my data in my Varnish server so > that I can handle requests to subsets of myFile without getting cache > misses? Can't you rewrite the request so it'll use the Range: header? That way you'll only keep one copy. You'll have some latency on the first request as Varnish will fetch the whole thing. -- Per Buer, CEO Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer *Varnish makes websites fly!* Whitepapers <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> | Twitter <https://twitter.com/varnishsoftware>
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
