Search squid archive

Squid doesn't cache some objetcs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux