Working SQUID.CONF 2.7 Example! [Ubuntu]


Syed Jahanzaib - Personal Blog to Share Knowledge !

More update and high tunned squid.conf example can be found here.

http://aacable.wordpress.com/2012/01/19/youtube-caching-with-squid-2-7-using-storeurl-pl/

UPDATED: JULY , 2013]

Below is an example of good (aggressively) working squid.conf tested in Ubuntu v9.10 / 10.4]
I was doing some experiments on squid, it was just for lab testing but you can modify it according to your need. To get good performance from squid cache, make sure you put as much RAM as you can afford.
My recommendation is to use at least 8-16 GB of ram in the squid box.

I tested this configuration on the following hardware/OS:
XEON 3.6Ghz Dual / 8 GB RAM / 320 GB
Ubuntu Desktop 10.4

I got very good cache HITRATIO using this customized configuration. Following snapshot shows the hit ratio captured by customized MRTG graph.

Warning: Make sure that you understand each parameter’s function before applying / modifying.

Regard’s
Syed Jahanzaib
x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x

Note: The refresh pattern…

View original post 587 more words

MIKROTIK :Howto Redirect HTTP traffic to SQUID with Original Source Client IP


Syed Jahanzaib - Personal Blog to Share Knowledge !

Howto connect SQUID box with Mikrotik and Log user’s original source ip in squid proxy log.

Consider the following Scenario.

In this scenario Mikrotik is acting as PPPoE Server. All internet traffic is passed from Mikrotik, except the HTTP PORT 80 data, which is marked and route to SQUID proxy server for caching facility and some other filtering task. We want to preserve source client IP address in squid logs, so that user web activity can be tracked via squid access log, sometimes it can be require by law enforcing agencies or can be required by administration / reporting / management purposes. So how to do it ?

I assume you already have working SQUID and Mikrotik (pppoe server with pppoe user ip pool 172.16.0.0/16 pool in place. however you can change it according to your scenario)

We will divide this article in two sections

1# MIKROTIK RouterOS…

View original post 465 more words

Website Operation Tools/ Domain Checking Tools/ Web Hosting Search


During working on my web development project I have discover some cool Tools to check Web Services, Hosting Company Operations and Domain Checking Tools.  So Sharing them here as a post, which would not only facilitating to my blog readers but will work as my diary page too.

Builtwith

Extremely cool site which I use most during working to check site software and seo ranking.

Domaintools

Great site with domain checking tools and Seo Browser.

Yougetsignal

It is great site for operation of your hosting company. You can check how many sites are hosted with your shared ip/server with reverse domain checking tool on this site.

Pingdom

Test the load time of all Website objects (html, images, Javascript, css, iframes and others). You can also check how fast every element of your Website load and improve the slow-loading items. At the summary of test results, you see the report of the site loading time, loading time of each element, element sizes and the total number of elements.

Pingdom

GTmetrix

Combines two of the most popular Firefox performance add-ons – Yslow and Google Page Speed. Gtmetrix gives you suggestions what you need to improve your website. Although Yslow and Google page speed are recommended for Firefox, it can also be applicable to other browser.

Gtmetrix

Light Speed Now

Test your website speed performance, and get the report sent to your inbox.

Lightspeednow

Load Impact

Loadimpact is a very important tool for large Website visited by tens of thousands visitors each day. A free account allows you to check the loading impact with 50 simulated users, anything more you’ll have to upgrade to a premium account.

Loadimpact

Site-Perf

Site-Perf fully emulates natural browser behavior downloading your page with all the images, CSS, JS and other files – just like a regular visitor and on the report you can see Website page loading what files start loading at first and how fast. It as very useful performance report to find elements that you need to improve your Website loading time.

Site-Perf

WebWait

Benchmark your website or test the speed of your web connection.

WebWait

Gomez Networks

Conduct a real-time Instant Test for an individual Web page to test its performance from an external node location.

Gomeznetworks

OctaGate

Allows you to monitor how long it takes for a user to download one or more of your web site pages.

Octagete

Webslug

Allows you to compare your website’s speed against your competitors.

Webslug

WebToolHub

Gives you the option to understand how your page is loading with different visitor’s Internet connection speeds. With Webtoolhub you will get information about page size, loading time with different Internet connection speeds and will get information about all Css, Javascript and Images that are used on page. Nothing more nothing less: all that you need for basic page speed test.

Webtoolhub

IWebTool

Iwebtool gives you the option to compare up to ten pages in same time. You also can check homepage, categories or posts loading time with just one click.

Iwebtool

Searchmetrics

Shows the duration of a given website. This value can be used for showing how long a website take to load and if it is better to optimize the website or change a (slow) ISP.

Searchmetrics

BrowserMob

Get performance data on any website on the fly without having to create a test script.

BrowserMob

Pylot

Open source tool for testing performance and scalability of web services. It runs HTTP load tests, which are useful for capacity planning, benchmarking, analysis, and system tuning.

Pylot

Google Page Speed

Page Speed is an open-source Firefox/Firebug Add-on. Webmasters and web developers can use Page Speed to evaluate the performance of their web pages and to get suggestions on how to improve them.

Google Page Speed

YSlow

YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages.

Yslow

PageTest

Internet Explorer plugin that visually displays the underlying requests made by the browser for content. It also provides suggestions on how to improve the performance of the measured page.

Pagetest

Multi-Mechanize

Multi-Mechanize is an open source framework for web performance and load testing. It allows you to run simultaneous python scripts to generate load (synthetic transactions) against a web site or web service.

Multi-Mechanize