[squid-users] Some puzzle with squid!

From: auser <iloveyunxuan@dont-contact.us>
Date: Tue, 18 Dec 2007 12:48:15 +0800

Hi,all:
    I have a puzzle with between apache2.2 and squid. I have three apache
server with same configuration and only with apache service.And to squid
server in front of apache server to cache my websites.
(By the way, i used apache1.3 all the time before and working well.)
    I use apche control cache time.And i set 15days with types of *.js.When I
check http reponse , i find all time set is right!
HTTP/1.1 200 OK
Date: Tue, 18 Dec 2007 03:32:09 GMT
Server: Apache/2.2.6 (Unix)
Last-Modified: Wed, 14 Nov 2007 08:34:31 GMT
ETag: "178505d-16a2-43edf6f31b3c0"
Accept-Ranges: bytes
Cache-Control: max-age=1296000
Expires: Wed, 02 Jan 2008 03:32:09 GMT
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 1556
Content-Type: application/javascript
X-Zip-Status: request=gzip:this; respond=vary
Age: 649
    But when i check access_log, i found too many request from squid server with
*.js types ,and the request so high frequency.
10.0.121.12 - - [18/Dec/2007:11:40:07 +0800] "GET /chinabank.js HTTP/1.1" 200 841
10.0.121.3 - - [18/Dec/2007:11:40:07 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 200 1556
10.0.251.206 - - [18/Dec/2007:11:40:07 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:08 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:09 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:09 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:10 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:10 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.121.3 - - [18/Dec/2007:11:40:11 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:11 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:12 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:12 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:14 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:15 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:16 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.250.217 - - [18/Dec/2007:11:40:16 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.121.12 - - [18/Dec/2007:11:40:17 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:17 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 200 5794
10.0.251.206 - - [18/Dec/2007:11:40:18 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
10.0.251.206 - - [18/Dec/2007:11:40:19 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -

    I relly don't how to deal with£¬Thank you for your help!
    Is it problem with apache ro squid ?
Received on Mon Dec 17 2007 - 21:48:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST