Re: Little question about the releases of Varnish

2008-06-22 Thread Oliver Oli
are there any debian buildpackage scripts available?

On Sat, Jun 21, 2008 at 11:59 AM, Poul-Henning Kamp [EMAIL PROTECTED] wrote:
 In message [EMAIL PROTECTED], Damien Sarazin writes:

My question is : should i continue to work with the 1.1.2 release or is
the 1.2 version stable enough so i can use this last one ?

 Actually, we are heading into the 2.0 release cycle, so you should
 grab a -trunk copy from SVN and look at that.

 The first 2.0 release preview will be rolled real soon now.

 --
 Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
 [EMAIL PROTECTED] | TCP/IP since RFC 956
 FreeBSD committer   | BSD since 4.3-tahoe
 Never attribute to malice what can adequately be explained by incompetence.
 ___
 varnish-misc mailing list
 varnish-misc@projects.linpro.no
 http://projects.linpro.no/mailman/listinfo/varnish-misc

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Using Range requests with cached files

2008-06-15 Thread Oliver Oli
Hello,

how does varnish handle Range request? I'm getting varying results.
Sometimes it seems that a Range request is delivered from the cache,
sometimes it seems that varnish is receiving the whole file from the
backend first and sometimes it serves the whole file completely
ignoring the Range header. I cannot see any pattern in varnish's
behaviour.

Does vernish support the Range header at all?

I'm using the default.vcl from the debian package (built from the 1.2
branch) with set obj.ttl=30d in sub vcl_fetch.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Using Range requests with cached files

2008-06-15 Thread Oliver Oli
Hello Poul-Henning,

good to know. Is there a way to cache partial responses anyway
(ignoring the fact that many requests for differing ranges would blow
up the cache)? I tried to add req.http.Range to req.hash, but I'm
oviously missing something, because it's not cached.

sub vcl_hash {
set req.hash += req.url;
set req.hash += req.http.Range;
set req.hash += req.http.host;
hash;
}




On Sun, Jun 15, 2008 at 11:14 PM, Poul-Henning Kamp [EMAIL PROTECTED] wrote:
 In message [EMAIL PROTECTED], Oliv
 er Oli writes:
Hello,

how does varnish handle Range request?

 not at all

 I have put it on the things to do after 2.0 wiki page.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Flash Range header workaround?

2008-06-12 Thread Oliver Oli
Hello,

I haven't found any user manual on the Varnish website... it seems to
me that varnish is quite flexible, but i don't know where to start.
Any pointer to some documentation / tutorial is welcome.

I have a simple use case:
I would like to request a partial document from a Flash movie [1].
Unfortunatly the Range header is blocked by flash. I wonder if I can
use Varnish for a work-around. like rewriting

http://varnish.localhost/mysong.mp3?range=1-3

to

http://backend.localhost/mysong.mp3
and a Range: bytes=1-3 header

or rewriting some custom X-Oli-Range:  header to Range: 


Is Varnish able to cache partial documents?

- Oli



[1] 
http://developer.amazonwebservices.com/connect/thread.jspa?threadID=21377tstart=0
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc