Re: [squid-users] Handling pdf

From: Marc Elsen <marc.elsen@dont-contact.us>
Date: Thu, 19 Sep 2002 09:11:10 +0200

Wei Keong wrote:
>
> Hi all,
>
> I notice that when i tried viewing pdf through browser, multiple
> requests will be logged (see below).
>
> Why does Squid break up the request?

 My SQUID doesn't, it fetches this particular pdf file
 in one GET request only.

> What is the first 3 requests? handshaking?
> Why not go straight to multipart/byteranges?
> Is this web server dependent or pdf client dependent?

 Presumably, it is browser related. Perhaps your browser decides
 to look at some pdf 'headers' first, then fetches the whole
 document.

 M.

>
> 1032417365.254 1911 x.x.x.x TCP_MISS/200 4177 GET
> http://www.ai.mit.edu/conferences/aistats2001/sample.pdf -
> DIRECT/128.52.32.5 application/pdf
> 1032417366.216 747 x.x.x.x TCP_MISS/200 4177 GET
> http://www.ai.mit.edu/conferences/aistats2001/sample.pdf -
> DIRECT/128.52.32.5 application/pdf
> 1032417367.046 755 x.x.x.x TCP_MISS/200 4177 GET
> http://www.ai.mit.edu/conferences/aistats2001/sample.pdf -
> DIRECT/128.52.32.5 application/pdf
> 1032417369.414 2241 x.x.x.x TCP_MISS/206 74504 GET
> http://www.ai.mit.edu/conferences/aistats2001/sample.pdf -
> DIRECT/128.52.32.5 multipart/byteranges
>
> 1032417412.266 1565 x.x.x.x TCP_MISS/200 4177 GET
> http://www.ai.mit.edu/projects/dynlangs/ll1/shriram-talk.pdf -
> DIRECT/128.52.32.5 application/pdf
> 1032417413.154 755 x.x.x.x TCP_MISS/200 4177 GET
> http://www.ai.mit.edu/projects/dynlangs/ll1/shriram-talk.pdf -
> DIRECT/128.52.32.5 application/pdf
> 1032417413.932 751 x.x.x.x TCP_MISS/200 4177 GET
> http://www.ai.mit.edu/projects/dynlangs/ll1/shriram-talk.pdf -
> DIRECT/128.52.32.5 application/pdf
> 1032417428.199 14220 x.x.x.x TCP_MISS/206 848687 GET
> http://www.ai.mit.edu/projects/dynlangs/ll1/shriram-talk.pdf -
> DIRECT/128.52.32.5 multipart/byteranges
>
> Thanks,
> Wei Keong

-- 
 'Time is a consequence of Matter thus
 General Relativity is a direct consequence of QM
 (M.E. Mar 2002)
Received on Thu Sep 19 2002 - 01:11:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:21 MST