[Varnish] #42: Support gzip / deflate

Varnish varnish-bugs at projects.linpro.no
Mon Sep 18 22:03:04 CEST 2006


#42: Support gzip / deflate
-------------------------+--------------------------------------------------
 Reporter:  des          |        Owner:  phk        
     Type:  enhancement  |       Status:  new        
 Priority:  normal       |    Milestone:  Varnish 2.0
Component:  varnishd     |      Version:  trunk      
 Severity:  normal       |   Resolution:             
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by des):

 21:59 < phk> With respect to deflate, you need to have ESI in mind while
 doing
              that, as you will be using the same object
 duplicity/selection stuff.
 21:59 < phk> You should also put the "Vary:" header on the 1.1 list, it's
              necessary for Deflate.
 21:59 < EvilDES> phk: deflate can be done orthogonally by hashing on Vary
 headers
                  in addition to Host + URL
 21:59 < phk> no, that's the wrong way.
 22:00 < phk> we only hash URL+HOST
 22:00 < phk> the hashheader you get then has a list of objects for that
              combination.
 22:00 < phk> these objects can differ in TTL, encoding, transfer encoding
 or
              anything else you care to think about.
 22:00 < EvilDES> OK.
 22:00 < phk> and as you walk the list, you find one you like, or you
 create a new
 22:01 < phk> and get it from the backend.
 22:01 < phk> There is no way to sanely hash the vary header as it is
 defined.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/42>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list