[HPADM] RE: Re: proxy question

From: Schernau, Ed (Edward.Schernau@citizensbank.com)
Date: Tue Sep 13 2005 - 12:56:27 EDT


Isn't caching dynamic pages counterproductive?
 
Ed
Sorry about the attached signature, it's appended by Information Security.

   _____

From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl]

Sent: Tuesday, September 13, 2005 12:49 PM
To: Senthil Kumar; hpux-admin@dutchworks.nl
Subject: [HPADM] Re: proxy question

Thanks Senthil,
 
You are bang on target... After uncommenting out
 
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

It seems to be working..
Now i can see lot of TCP_HITS in access log.
 
Great full points to you..
 

----- Original Message -----
From: Senthil Kumar <mailto:senthilkumar_sen@hotpop.com>
To: PenBor <mailto:penbor@gmail.com>
Sent: Tuesday, September 13, 2005 8:37 PM
Subject: Re: [HPADM] proxy question

Hi,
 
I think this happens because of dynamic pages. By default the dynamic pages
are not cached in Squid. To enable them you need to edit the squid
configuration file. The TAG: no_cache may be set such that it denies the
caching of dynamic pages.
 
Regards,
Senthil Kumar.
 

----- Original Message -----
From: PenBor <mailto:penbor@gmail.com>
To: Senthil Kumar <mailto:senthilkumar_sen@hotpop.com>
Sent: Tuesday, September 13, 2005 7:44 PM
Subject: Re: [HPADM] proxy question

Hi,
I can see that my cache_dir is getting filled up. but the strange thing is
that my access log is always showing entries like:
 
1126619409.000 0 192.168.1.2 TCP_MISS/200 1407 GET
http://login.passport.com/login.srf <http://login.passport.com/login.srf> ?
- DIRECT/login.passport.com text/html
1126619411.000 2000 192.168.1.2 TCP_MISS/200 9827 POST
http://login.passport.net/uilogin.srf
<http://login.passport.net/uilogin.srf> ? - DIRECT/login.passport.net
text/html
1126619412.000 1000 192.168.1.2 TCP_MISS/302 733 GET
http://cb1.msn.com/hm/header.armx <http://cb1.msn.com/hm/header.armx> ? -
DIRECT/cb1.msn.com text/html
1126619412.000 1000 192.168.1.2 TCP_MISS/302 733 GET
http://cb1.msn.com/hm/signup.armx <http://cb1.msn.com/hm/signup.armx> ? -
DIRECT/cb1.msn.com text/html
1126619412.000 0 192.168.1.2 TCP_MISS/302 733 GET
http://cb1.msn.com/hm/footer.armx <http://cb1.msn.com/hm/footer.armx> ? -
DIRECT/cb1.msn.com text/html
1126619413.000 1000 192.168.1.2 TCP_MISS/200 2442 GET
http://cb2.msn.com/signup.armx <http://cb2.msn.com/signup.armx> ? -
DIRECT/cb2.msn.com text/html
1126619413.000 1000 192.168.1.2 TCP_MISS/200 2347 GET
http://cb2.msn.com/header.armx <http://cb2.msn.com/header.armx> ? -
DIRECT/cb2.msn.com text/html
1126619413.000 1000 192.168.1.2 TCP_MISS/200 1742 GET
http://cb2.msn.com/footer.armx <http://cb2.msn.com/footer.armx> ? -
DIRECT/cb2.msn.com text/html
1126619414.000 0 192.168.1.2 TCP_MISS/200 500 GET
http://c.msn.com/c.gif <http://c.msn.com/c.gif> ? - DIRECT/c.msn.com
image/gif
1126619414.000 1000 192.168.1.2 TCP_MISS/304 275 GET
http://hp.msn.com/c/hotmail/en-US.gif
<http://hp.msn.com/c/hotmail/en-US.gif> - DIRECT/hp.msn.com -
1126619768.000 2000 192.168.1.2 TCP_MISS/302 506 GET
http://login.passport.net/uilogin.srf
<http://login.passport.net/uilogin.srf> ? - DIRECT/login.passport.net
text/html
1126619768.000 0 192.168.1.2 TCP_MISS/200 1407 GET
http://login.passport.com/login.srf <http://login.passport.com/login.srf> ?
- DIRECT/login.passport.com text/html
1126619770.000 2000 192.168.1.2 TCP_MISS/200 9823 POST
http://login.passport.net/uilogin.srf
<http://login.passport.net/uilogin.srf> ? - DIRECT/login.passport.net
text/html
1126619771.000 1000 192.168.1.2 TCP_MISS/302 733 GET
http://cb1.msn.com/hm/header.armx <http://cb1.msn.com/hm/header.armx> ? -
DIRECT/cb1.msn.com text/html
1126619771.000 1000 192.168.1.2 TCP_MISS/302 733 GET
http://cb1.msn.com/hm/signup.armx <http://cb1.msn.com/hm/signup.armx> ? -
DIRECT/cb1.msn.com text/html
1126619771.000 1000 192.168.1.2 TCP_MISS/302 733 GET
http://cb1.msn.com/hm/footer.armx <http://cb1.msn.com/hm/footer.armx> ? -
DIRECT/cb1.msn.com text/html
1126619772.000 1000 192.168.1.2 TCP_MISS/200 2347 GET
http://cb2.msn.com/header.armx <http://cb2.msn.com/header.armx> ? -
DIRECT/cb2.msn.com text/html
1126619772.000 1000 192.168.1.2 TCP_MISS/200 1742 GET
http://cb2.msn.com/footer.armx <http://cb2.msn.com/footer.armx> ? -
DIRECT/cb2.msn.com text/html

You can see all are miss. Is there a real problem in configuration or is
this normal.
 
Regards.
 

----- Original Message -----
From: Senthil Kumar <mailto:senthilkumar_sen@hotpop.com>
To: PEN BORIS <mailto:penbor@gmail.com>
Sent: Tuesday, September 13, 2005 4:23 PM
Subject: Re: [HPADM] proxy question

Hello Pen,
 
Could u check the setting of cache_dir in your configuration file. If this
directive is not used, it may help you in sorting this problem out. If this
is not giving any helping hand, could you send me the configuration file.
 
Thanks,
Senthil Kumar.
 

----- Original Message -----
From: PEN BORIS <mailto:penbor@gmail.com>
To: hpux-admin@dutchworks.nl <mailto:hpux-admin@dutchworks.nl>
Sent: Tuesday, September 13, 2005 3:24 PM
Subject: [HPADM] proxy question

Dear all,

I'm new to this group.

I have setup web caching proxy on unix box thinking that by doing this i
would be able to save a lot of internet traffic.

But I have noticed that every time i restart, it starts to create new data
from internet.
I have set up proxy on the DSL(local IP).
My client is configured to be read from this proxy IP:port.

I was wondering if this is the default behaviour of squid, that it will
always clear the cache contents across reboots.
 
Is there any way to keep the cache in disk & reuse it across reboots

I would Welcome your replies..

Cheers
pen

-----------------------------------------
Use of email is inherently insecure. Confidential information,
including account information, and personally identifiable information,
should not be transmitted via email, or email attachment. In no event
shall Citizens or any of its affiliates accept any responsibility for
the loss, use or misuse of any information including confidential
information, which is sent to Citizens or its affiliates via email, or
email attachment. Citizens does not guarantee the accuracy of any email
or email attachment, that an email will be received by Citizens or that
Citizens will respond to any email.
 
This email message is confidential and/or privileged. It is to be used
by the intended recipient only. Use of the information contained in
this email by anyone other than the intended recipient is strictly
prohibited. If you have received this message in error, please notify
the sender immediately and promptly destroy any record of this email.

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:49 EDT