Re: [squid-users] Intercep/save JSON

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 05 Nov 2012 01:14:51 +1300

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
Received on Sun Nov 04 2012 - 12:15:17 MST

This archive was generated by hypermail 2.2.0 : Sun Nov 04 2012 - 12:00:04 MST