Re: [squid-users] insert into cache

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 03 Jul 2011 13:23:38 +1200

On 03/07/11 00:13, Mohsen Pahlevanzadeh wrote:
> Dear list,
> When you use GET, you receive following headers before html file:
> HTTP/1.1 200 OK
> Date: Mon, 23 May 2005 22:38:34 GMT
> Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux)
> Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
> Etag: "3f80f-1b6-3e1cb03b"
> Accept-Ranges: bytes
> Content-Length: 438
> Connection: close
> Content-Type: text/html; charset=UTF-8
> ---------

Yes that is a reply.

> Now, if you focus in above lines you don't see hostname and domain or
> url....It' my problem.I send above lines along with html file to
> squid:3128 but squid doesn't find out hostname or domain or url....
> Do you have solution?

Pass the _GET_ itself through squid:3128.

The reply details (above) come back _from_ Squid it should then be
freshly cached. The reply your app gets out of Squid can be discarded,
or the status used to conform the object exists/failed.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.9 and 3.1.12.3
Received on Sun Jul 03 2011 - 01:23:45 MDT

This archive was generated by hypermail 2.2.0 : Sun Jul 03 2011 - 12:00:01 MDT