[squid-users] Squid doesn't cache some objetcs

From: Donoso Gabilondo, Daniel <donoso.d_at_ikusi.es>
Date: Thu, 16 Apr 2009 16:02:27 +0200

I resend this mail because I don't know if it arrived well the first
time. (I have received it in the spam folder) If it was received well
sorry for send it again.

I'm using a linux application that uses squid to cache the objects.
If I ask the objects with wget linux command the objects are cached
well, but with the application it always receives "Partial Content"
I saw that GET headers are different. The application adds to header a
Range attribute (is this the problem?)
 
The application header is this:

GET /Resources/rsc/National/Diapositiva20.JPG HTTP/1.0\r\n
User-Agent: Lavf52.16.0\r\n
Accept: */*\r\n
Range: bytes=0-\r\n
Host: myserver.com:8080\r\n
Authorization: Basic\r\n
Via: 1.1 localhost.localdomain (squid/3.0.STABLE13)\r\n
X-Forwarded-For: 127.0.0.1\r\n
Cache-Control: max-age=0\r\n
Connection: keep-alive\r\n

And the wget header content:

GET /Resources/rsc/National/Diapositiva20.JPG HTTP/1.0\r\n
User-Agent: Wget/1.11.4 (Red Hat modified)\r\n
Accept: */*\r\n
Host: myserver.com:8080\r\n
Via: 1.1 localhost.localdomain (squid/3.0.STABLE13)\r\n
X-Forwarded-For: 127.0.0.1\r\n
Cache-Control: max-age=0\r\n
Connection: keep-alive\r\n

Best regards,
Daniel
Received on Thu Apr 16 2009 - 14:02:35 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 17 2009 - 12:00:02 MDT