Donoso Gabilondo, Daniel wrote:
Hello again,
Thank you very much for your help.
I suspect you are trying to do some sort of web mashup involving Squid?
I've found the best ways to do those is to have squid as the public
domain gateway and do the app-linking/routing in the squid config.
I want to use squid to cache all the resources needed by the linux application and only download again if they are modified.
I have made the changes that you have indicated me.
I am using firefox to make a test, because with the linux application I can't test at this moment. I put squid as the proxy, but always download the resource.
I saw that the store.log file is updating with the asked resources. This is the file content:
1213266172.237 RELEASE 00 0000000F EAEEC8FE1A6E2D8434959FA6301A18A0 200 1213266
171 1194446956 -1 video/mpeg 6250477/386763 GET http://192.168.240.158:808
0/test/video.mpg
1213266174.770 RELEASE 00 00000010 197E8B6BA5687EDF00E293B32088D2E7 200 1213266
174 1194446956 -1 video/mpeg 6250477/251763 GET http://192.168.240.158:808
0/test/video.mpg
I put maximum_object_size 300000 KB because the video.mpg is higher than 8 MB (10 MB exactly), but I tried to ask small resources (images) and the results are the same.
I read squid configuration and for default squid allow all to be catched.
What am I doing wrong?
Thank you again for your help.
Daniel
I think that its the requests that app is making, or possibly the
headers on the files coming out of the server.
If you can get a trace of the request and response headers before they
go into squid it would help a lot.
Amos
--
Please use Squid 2.7.STABLE1 or 3.0.STABLE6