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? Unfortunately every file I have is HUGE (I emailed this same
mailing list sometime ago), above a GB, so it's no possible to cache
multiple copies for each request.

Is it even possible to call some external software from varnish to slice
the cached data before delivering it? I have a program capable of doing
this slice, but I don't know how to call it in the context of a request
inside varnish. I'm almost sure that I'll have to use inline C, but are
there any documentation on this theme?


thanks,
Thiago Moraes - EnC 07 - UFSCar
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to