Make squid to mark cache hits and misses (rpm package for Fedora 5)

Squid is a proxy server and web cache daemon. It has a wide variety of uses, from speeding up a web server by caching repeated requests, to caching web, DNS and other computer network lookups for a group of people sharing network resources, to aiding security by filtering traffic. Although primarily used for HTTP and FTP, Squid includes limited support for several other protocols including TLS, SSL, Internet Gopher and HTTPS.

When the cache client (like web browser) wishes to access a data presumably in the backing store, it first checks the cache. If an entry can be found with a tag matching that of the desired datum, the datum in the entry is used instead. This situation is known as a cache hit. The alternative situation, when the cache is consulted and found not to contain a datum with the desired tag, is known as a cache miss. More information about cache misses and cache hits is available here.

The common reason to mark cache misses and hits is to control bandwidth of these kinds of traffic. For example: there is a server running squid that caches requests sent by subscribers and it’s necessary to shape bandwidth of traffic retreived directly from original servers (misses) and traffic that comes with local cache (hits). Standard squid versions don’t allow this.

7 Comments

im often roaming throughout the web nearly all of the afternoon which means that We have a propensity to peruse a good deal, which sadly is not normally a beneficial option as some in the blogs I view are constructed of useless nonsense copied from various internet pages a million times, but I have to compliment you simply because this weblog is in reality quite informative and consists of a good deal of unique material, so cheers for stopping the fad of merely just copying other people’s websites, in situation you ever wanna have fun with several hands of zynga poker together just send me a message – you might have my email address :)

Hey there! This post couldn't be written any better! Reading through this post reminds me of my previous room mate! He always kept chatting about this. I will forward this post to him. Fairly certain he will have a good read. Thanks for sharing!

I’ve been surfing on-line far more than three hours as of late, however I don’t ever found any interesting posting like your site. It’s fairly value ample for me. For my part, if most of web site owners and other people produced nice content material as you do, the web will be much far more helpful than ever before.

Heya are using Wordpress for your blog platform? I'm new to the blog world but I'm trying to get started and set up my own. Do you need any coding expertise to make your own blog? Any help would be greatly appreciated!

Hello there, I should say that Make squid to mark cache hits and misses (rpm package for Fedora 5) - Linux * Screw is really a really great place to slack from function :) I truly adore your weblog and I have already bookmarked it. Make sure you, keep it updated more usually. Thank you!

Artem is systems engineer for more than 7 years and holds broad experience in Linux, Unix, Cisco systems administration. Feel free to get in touch with Artem Nosulchik via Google Plus, Twitter or Facebook.

Most Read This Week

LinuxScrew Recommends

Who’s behind LinuxScew?

My name is Artem Nosulchik, I'm part time blogger and full-time Linux sysadmin. In 2007 I started LinuxScrew to share my personal notes on anything related to Linux and Open Source on the whole and found this pretty interesting.