Latest trick for Speed up your internet connection using SQUID proxy on WINDOWS

So what is squid or a caching proxy in general? The squid website says

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Itreduces bandwidth and improves response times by caching and reusing frequently-requested web pages.
So why would you want to use it? From my experience, if you are in any ofthe following situations:
* You want your browsing to be snappy in general (helps on cable/ADSL too!)
* You are shaped and want better performance when browsing your frequently-visited sites
* You are about to get shaped and want to reduce your quota consumption
* You are on a flaky, high-latency or slow connection (e.g. laptop Wi-Fi, wireless broadband, dial-up)
While it is true that your web-browser most definitely has an internal cache, you'll likely get a noticeable improvement in perceived latency due to squid's DNS caching. On top of that, I find squid picks up 25% of traffic that my install of Firefox doesn't cache, misses or expires.
:: Downloading squid for Windows::

Now its time to preparing squid...
First extract squid on c:/ so that so that all of the files appear under c:\squid (and not c:\squid\squid)
otherwise it will not work...anymore...
then open the cmd from the start menu..and if u r using win 7 then..u have to run the cmd in administrator..
after that navigate to c:\squid\sbin
in cmd ..that means u hav to wright as following in cmd..
cd /d c:\squid\sbin
then Run: squid -z
its shows like this...

then configure the firefox...or ur default browser to

Now try to view a website. It should fail.
That's good, it just means there's nothing already running on squid's port, which is what we want. We can now get the proxy up and running in the next section
now its time to run the proxy....
With the prompt still open, run: squid -X

u hav now the fastest browsing with dns cache...
if u will wish to run the squid on windows start ...
Type again with the prompt still open, run: squid -i -n squid -O -D

No comments:

Post a Comment