Le 04/11/2012 13:14, Amos Jeffries a écrit :
> On 4/11/2012 9:17 p.m., Noc Phibee Telecom wrote:
>> Hello,
>>
>> I have an application that uses my proxy Squid to talk. So I log in
>> squid:
>>
>> 1352012487.163 18 192.168.100.84 TCP_DENIED/407 1732 GET
>> http://172.16.250.124/bagles? - NONE/- text/html
>> 1352012488.209 606 192.168.100.84 TCP_MISS/200 1120 GET
>> http://172.16.250.124/bagles? DIRECT/172.16.250.124 application/json
>> 1352012517.163 19 192.168.100.84 TCP_DENIED/407 1732 GET
>> http://172.16.250.124/bagles? - NONE/- text/html
>> 1352012517.986 616 192.168.100.84 TCP_MISS/200 1120 GET
>> http://172.16.250.124/bagles? DIRECT/172.16.250.124 application/json
>> 1352012547.758 618 192.168.100.84 TCP_MISS/200 1120 GET
>> http://172.16.250.124/bagles? DIRECT/172.16.250.124 application/json
>> 1352012584.172 13 192.168.100.84 TCP_DENIED/407 1726 GET
>> http://172.16.250.124/road/12275 - NONE/- text/html
>> 1352012585.957 1635 192.168.100.84 TCP_MISS/200 33800 GET
>> http://172.16.250.124/road/12275 DIRECT/172.16.250.124 application/json
>>
>>
>> is it possible to tell Squid to save all dialogs and stream including
>> exchange JSON on the hard drive ?
>
> HTTP makes no difference between JSON and any other type of object.
> Cacheability for any object on GET is down to what cache controls in
> both server response and client request are being received by the proxy.
>
> By default Squid caches everything it can store safely. So why do you
> want to force these to be stored? and more importantly why are they
> not being stored already?
>
> Amos
>
>
>
Hi
thanks for your answer, my objectif is not to put in Cache, but i want
know what is the dataint the json.
Sample, if i use the proxy for see www.google.com, squid backup into a
directory the .html file of www.google.com/index.html
best regards
Jerome
Received on Sun Nov 04 2012 - 12:27:29 MST
This archive was generated by hypermail 2.2.0 : Mon Nov 05 2012 - 12:00:02 MST