[HPADM] Re: proxy question

From: PenBor (penbor@gmail.com)
Date: Tue Sep 13 2005 - 12:49:07 EDT


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
  To: PenBor
  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
    To: Senthil Kumar
    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? - DIRECT/login.passport.com text/html
    1126619411.000 2000 192.168.1.2 TCP_MISS/200 9827 POST 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? - 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? - 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? - DIRECT/cb1.msn.com text/html
    1126619413.000 1000 192.168.1.2 TCP_MISS/200 2442 GET 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? - DIRECT/cb2.msn.com text/html
    1126619413.000 1000 192.168.1.2 TCP_MISS/200 1742 GET 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? - 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 - DIRECT/hp.msn.com -
    1126619768.000 2000 192.168.1.2 TCP_MISS/302 506 GET 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? - DIRECT/login.passport.com text/html
    1126619770.000 2000 192.168.1.2 TCP_MISS/200 9823 POST 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? - 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? - 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? - DIRECT/cb1.msn.com text/html
    1126619772.000 1000 192.168.1.2 TCP_MISS/200 2347 GET 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? - 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
      To: PEN BORIS
      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
        To: 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

--
             ---> 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