Tuesday 12 June 2012

How to install and use Smart Cache proxy to view pages without connection

How to use a web proxy on the computer, to save and store the entire contents of the websites and can view them later offline browser with no network connection. Explore and extract files from the contents of the cache.
Web proxies are widely used in network connections, to keep in cache, a kind of temporary memory, the contents of pages and thus make the users in their browsers load faster, consume less bandwidth band and streamline Internet connections. 
Thus working the famous Apache, IIS and others.
Using a proxy in our local computer, advantages
also have the option of using a proxy on our team, in this case the small proxy SmartCache. 
This proxy in addition to the above options to improve and streamline our connection, we provide access to content of stored pages, offline without connecting to the network. 
words, if we have limited connection time, the speed is bad or need to review the content that interests us later, SmartCache keep the content of web pages to load up with the browser cache on the application.

Why use the proxy SmartCache?

There are many network applications that can make this task possible, but in this case in a local team, the ideal option is to install the proxy SmartCache. 
Besides being an open source software, free, be free to use and small , possesses the following characteristics.

Features and Benefits of Smart Cache proxy

• It is fully configurable. 
• You may decide to keep cached pages, which are not and for how long. 
• All types of documents can be cacheable, even those with the directive "uncacheable". 
• Works even if you're not connected to the network and relatively not see the difference. 
• You can manually search for files in the cache, organized by easy-access directories. 
• Provides the ability to manually remove the cache images or other files downloaded by the browser. 
• Although it stops loading a page in the browser, continue cacheándola. 
• Especially useful when downloading multiple small files, without using the "Save As". 
• Contains a small additional program to maintain the cache file. 
• You can compress the cache to save disk space. 
• Completely portable, we can use a flash or portable hard disk and then (optional) to transfer the files to the cache on the PC. 
• Very simple yet robust. 
• Blocks unwanted URLs. 
• Replace the blocks 404 with the image we choose. 
• Open source software, free and free to use.
If with these characteristics and the advantages it provides you dare to try, you can download it here, weighs only 250 KB:
Install and configure the proxy Smart Cache
The main prerequisite for this program is that it needs to function in our system have Java Runtime Environment, also known as JRE or JDK 1.5. If you do not have it you can download free from the Java Web is essential to use other web applications and will be useful. Smart Cache requires no installation, just copy the file to download to the root of your C drive and extract it to your folder. 
Inside there are two configuration files, and gc.cnf scache.cnf . 
The first is the configuration scache.cnf the program itself, to facilitate your operation you can download a file with the standard configuration below or you can manually edit as shown below, follow these steps:
1-Open the scache.cnf with Notepad, Notepad + + or other text editor, find the following lines to change their values: http_port 8080 is the port that the application is listening, you can use 80 but it can cause conflicts with other applications, always use 8080.
cache_dir G: \ OTHER \ scache
path to the folder that will contain the files in the cache (this route is just an example) you can use any location, but we recommend using a separate physical drive to the disk operating system, which will increase performance as well choose a drive with enough free space in that directory and will accumulate lots of files consecutively with time usually occupy enough space.
http_proxy 127.0.0.1:80
client If you use a dynamic IP address update DynDNS style, so you can connect to the internet, if it does not have to manually enter your IP address.
No_cache http://www.google.com.cu/ * 
no_cache http://images.google.com.cu/ *
This feature is optional but very useful, you can add the addresses you do not want to cache, for example in http://www.google.com.cu/ my case included * and http://images.google.com.cu/ *, which are websites that I go often and it is unnecessary to have them taking up space in cache. 
With time You can read the entire help file, there are many parameters that can adjust to your needs, but are essential only those shown to function properly. 
Close the file and save changes scache.cnf.
The other file to configure is gc.cnf, is the adjustment of Garbage, the maintenance program that gives your cache file, only one parameter necessary to adjust for the moment. cache_swap_size 500MB Here you define the size of the cache, in my case I use 500MB, but you can set it to 100MB or 2 or 4 GB depending on your needs, 500MB is a good start, you can modify in the future if you continue using the application. Close the file and save changes gc.cnf.

Browser to access Internet via proxy
The next step is to configure the web browser you use to access the Internet via Smart Cache proxy, this form will be stored in the cache all the files you need.
For Internet Explorer and Google Chrome accessed in the Control Panel Internet Options , choose the tab Connections , press the buttonconfiguration , there check the box Use a proxy server for this connection . 
Now type in the values: 
Address: 127.0 .0.1 
Port: 8080 
OK in both windows.

In the case of Firefox is via the menu Tools, Options, Advanced, Connections, Manual proxy configuration
Configuration The route varies according to version of Firefox you use, select the same previous values. 
Address: 127.0.0.1 
Port: 8080

Start Smart Cache proxy

To start the Smart Cache proxy using any of the following methods:
1 - Smart Cache folder open a command console, for that with the Shift key pressed gives a right-click the mouse and the menu that appears choose "Open Command Window Here" in the window type: scache java and press Enter. 
2 - Another way is to create with notepad a new text file, copy and paste the following code:
@ Echo off
cd 
java scache 
cls 
Save the file and rename it: scache.cmd , when you run it will open a command window, and you have minimízala running the proxy.
In the file whose download link is above, there are two batch files to launch the proxy tool Smart Cache and Garbage collector, unzip the package and copy the two files to the proxy and make a shortcut to the desktop or other easily accessible location, remember to start Garbage should not be open proxy.
From now on all web pages you load your browser will be stored in the file cache cache.Si not want anything that you visit just close the window of the proxy and surf normally.

Use Smart Cache offline, offline

To view the web pages stored in cache to be offline, just type in the browser address bar URL, or part of this and load the page as if you were connected to the network, you will not see the difference. 
Garbage collector is a small program included in the package of Smart Cache, you can use it weekly or biweekly, its use is to give maintenance to your cache, to run without opening Smart Cache in the console type the following command: java-gc scache . 
may explore the cache that you have stored and find a page or file containing, either images or documents for that do the following: 
Enter or type in your browser 127.0.0.1:8081 , press Enter, you will see an interface that lets searching and will return the list of directories where information is stored.

0 comments:

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes