Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Guys, I've setup Squid Proxy cache enbaled. How would I know if my my clients are getting data from cache directory first then into the net ? I would ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    44

    Squid Proxy Caching


    Hi Guys,

    I've setup Squid Proxy cache enbaled. How would I know if my my clients are getting data from cache directory first then into the net ?

    I would like to know that my squid caching is working.

    Thanks

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    In /var/log/squid/access.log, look for TCP_HIT. That means there was a match in the cache. TCP_MISS, of course, means there was no cached content and the proxy had to fetch it.
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Oct 2011
    Posts
    50
    You can also set up a squid log analyzer if you don't want to browse raw logs:
    squid : Optimising Web Delivery

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2011
    Posts
    44
    Thanks a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •