Refresh_pattern:
Used to determine the time when a page enters the cache. The refresh_pattern rule applies only to responses with no definite expiration time. The original server can use the Expires header or the cache-control: Max-age command to specify the expiration time.
Syntax: refresh_pattern [-I] Regexp min percent Max [Options]
The min parameter indicates the number of minutes. It is the minimum time limit for outdated responses. If the time for a response to reside in the cache does n
From kwang.cn
Yesterday I introduced to you how to use tmpfs to accelerate your linux server. I think it is not enough. Today, I continue to learn the best way to use squid to accelerate your web site, if you are not satisfied with the speed of your web site, try the method I recommend below.First, you have to have the squid proxy server. I won't talk about how to install it. Just use her rpm for redhat ins
GFW blocked the HTTP/SOCKS5 agent, HTTP Proxy is the keyword filtering, SOCKS5 agent is the blockade protocol. However, some special low-end ports do not have such treatment, known to have 21, 25.20 port has been blocked, 21 ports will now be limited speed 400Kbps, after conversion of about 50KB/S, we recommend the use of 25 ports, unlimited speed.First, the system environmentOperating system: CentOS release 6.7 (Final)Squid version:
As shown in the network configuration, Squid uses CentOS5.8 + squid, and the web server uses FreeBSD + nginx for testing. The local network uses VMnet1 for simulation, the public network uses VMnet2 for simulation, and the IP address is planned as shown in figure. First install the web server and select Vmnet2.pkg _ add -...
As shown in the network configuration, Squid
SSH is a good solution to this problem. You just need a VPS and you can configure it. Erection is still quite easy.
Install Webmin
Webmin is a free software that visually manages Linux systems. We installed it to facilitate the management of Squid proxy servers or Linux systems. Detailed installation address is as follows:
CentOS Installation Webmin Management system
Install Squid proxy server
1. Before
relatively safe and reliable method. Through the establishment of a dedicated WWW (FTP) agent to meet the user's main needs, through the erection of SOCKS5 agents to meet the needs of users.
Second, hardware and software selection
Hardware
Cache server can be a common PC server plus cache software (such as squid, Inktomi) composition, can also be a hardware and software system and a dedicated cache server. According to the actual situation of the
An error occurred while starting the squid service!
[Root @ squid_A ~] # Service squid restart
Stop squid: [failed]
Init_cache_dir/var/spool/squid.../etc/init. d/squid: line 62: 3017 has abandoned $ SQUID-z-F-D>
/Var/log/
These days because the company needs to study squid, squid support SSL, the main problems encountered in the configuration Https_port, the following is the problem encountered and solutions, the solution does not necessarily apply to your environment but can refer to:), please give valuable advice. 1> The following error occurred: Invalid RequestInvalid requestSome aspect of the HTTP Request is invalid.
Behavior status and reload_into_ims option in squid, reload
[Problem]
Proxy Environment Data Stream: local browser -- Proxy Server (squid) -- remote server (RS)
After squid3 is configured for caching, ie cannot obtain the cached data in squid.
To solve this problem, you need a lot of extended knowledge, as shown below:
1. X-Cache and X-Cache-Lookup values
The t
1. Download squid for windows
:Http://www.acmeconsulting.it/SquidNT.htmlHttp://www.jb51.net/softs/43599.html
Ii. Install squid and configuration in Windows
1.decompress squid-2.6.stable6-nt-bin.zip to C: \ squid
2. Click [start], select "run", Enter cmd, and enter the following command in the Command Prompt window:
C:
Case:
Web server: domain name www.abc.com IP: 192.168.21.129 China Telecom single line access
Users: Telecom broadband users and mobile broadband users
Problem: telecom users can access www.abc.com normally. Mobile users can access www.abc.com very slowly or even not.
Solution: place a CDN proxy server in the mobile data center. through intelligent DNS resolution, telecom users can directly access the Web server and mobile users can access the CDN proxy server, slow access to Web servers by mobi
Squid reverse proxy working principle when a user's browser sends an HTTP request, the request is directed to the reverse proxy server through domain name resolution (if you want to implement reverse proxy for multiple WEB servers, you need to direct the domain names of multiple WEB servers to the reverse proxy server ). Requests are sent by the reverse proxy server processor. Reverse Proxy generally only caches buffered data (such as html webpages an
Squid is one of the well-known proxy server software, and it is also the most popular high-performance caching proxy server software in Linux environment. It has the characteristics of strong function and simple setting.
After a basic understanding of squid, will enter the squid installation process.
First,
I. Squid INTRODUCTIONProxy Server English full name is proxy server, its function is proxy network users to obtain network information. Squid is a software that caches Internet data, receives a user's download request, and automatically processes the downloaded data. When a user wants to download a homepage, they can send a request to squid to download it instead
System rhel5 1) Installation cd/usr/local/src
wget http://www. Squid-cache. org/versions/v2/2.6/squid-2.6. STABLE17. Tar. Gz
Tar xzvf squid-2.6. STABLE17. Tar. Gz
./Configure--ENABLE-ICMP--enable-htcp
Make
Make install if the operating system comes with squid 2.6, skip this step 2) Configure
A simple introduction of squid
Through Squid Proxy server to achieve intranet users to share the Internet, configure Squid cache and basic access control to accelerate and restrict access to Web services.
For web users, squid is a high-performance proxy caching server that speeds up the intranet browsing the Internet
I have a UbuntuLinux machine with a wireless network card that can be used to access the Internet. I want to set it as a proxy server so that other machines in the Intranet can use it as a proxy for Internet access. 1. Install squidwww.linuxidc.com @ linuxidc on UbuntuLinux :~ $ Sudoapt-getinstallsquid2. Started automatically after installation, if you use the default provisioning, set the proxy on another machine (this is
I have a Ubuntu Linux machine with a wireless network card that can be ac
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.