Hi,
I have just setup a testing environment too.
I now get SWAPOUTS for google earth via the webpage (maps.google.com)
but not so for the client software for google earth.
I think this is something to do with the rewrite program though.
I am not sure what the relevance of the space at the end is, but see the
output below.
# echo "http://kh.google.com/flatfile?q2-0122013223232230-q.153" |
./rewrite
http://kh.google.com/flatfile?q2-0122013223232230-q.153
# echo "http://kh.google.com/flatfile?q2-0122013223232230-q.153 " |
./rewrite
http://keyhole-srv.google.com.SQUIDINTERNAL/flatfile?q2-0122013223232230-q.153
Secondly,
When I get a swapout and then use wget to change the host name I get a
miss the next time round and the following lines in my cache.log.
2007/11/29 10:45:48| storeClientReadHeader: URL mismatch
2007/11/29 10:45:48|
{http://mt3.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3} !=
{http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3}
2007/11/29 10:45:54| storeClientReadHeader: URL mismatch
2007/11/29 10:45:54|
{http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3} !=
{http://mt1.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3}
2007/11/29 10:45:58| storeClientReadHeader: URL mismatch
2007/11/29 10:45:58|
{http://mt1.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3} !=
{http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3}
2007/11/29 10:46:04| storeClientReadHeader: URL mismatch
2007/11/29 10:46:04|
{http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3} !=
{http://mt1.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3}
2007/11/29 10:46:08| storeClientReadHeader: URL mismatch
2007/11/29 10:46:08|
{http://mt1.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3} !=
{http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3}
2007/11/29 10:46:16| storeClientReadHeader: URL mismatch
2007/11/29 10:46:16|
{http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3} !=
{http://mt3.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3}
eg,
wget -S "http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3"
HIT
wget -S "http://mt1.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3"
MISS
wget -S "http://mt1.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3"
NOW IS A HIT
wget -S "http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3"
IS A MISS NOW
wget -S "http://mt2.google.com/mt?n=404&v=w2.63&x=15071&y=9828&zoom=3"
IS NOW A HIT
Dave
Adrian Chadd wrote:
On Wed, Nov 28, 2007, Gleidson Antonio Henriques wrote:
Hey Adrian,
For me google maps and google earth are working like a charm ! So many
HITS and SWAPOUTS !
Thats great news! Thats two users who have reported success with
this work. Fantastic.
Who else is game to give it a go?
I know that Youtube part is incomplete for now, but for me it works
sometimes.
Sometimes my squid screen shows this message and when this message
occurrs the content
is served from youtube source even if a have the video in cache. For
your knowledge i put the line below.
2007/11/28 11:18:45| storeClientReadHeader: URL mismatch
2007/11/28 11:18:45|
{http://74.125.1.37/get_video?video_id=ZQkHAytCmFY&origin=dal-v26.dal.youtube.com}
!=
{http://74.125.1.101/get_video?video_id=ZQkHAytCmFY&origin=dal-v26.dal.youtube.com}
Try upgrading to the latest Squid-2.HEAD snapshot; I think I've fixed this.
Let me know if not and I'll take another look at it.
Adrian