Install Squid Acceleration Agent website above windows
Windows squid Download http://www.jb51.net/softs/43599.html
Download Extract to C:\squid
C:\squid\etc\squid.conf is as follows
Copy Code code as follows:
#本地绑定的IP端口
Http_port ip:80 Vhost
Visible_hostname localhost
Cache_dir UFS c:/squid/cache 1024 16 256
Cache_mem MB
#代理的IP地址和端口
Cache_peer IP Address parent 0 no-query originserver weight=1 name=a
Cache_peer IP Address parent 0 no-query originserver weight=1 name=b
#加速两个站点
Cache_peer_domain a www.aaa.com
Cache_peer_domain b www.bbb.com
ACL all src 0.0.0.0/0.0.0.0
Http_access Allow all
Cache_peer_access a Allow all
Cache_peer_access b Allow all
Tcp_recv_bufsize 65535 bytes
Cache_mgr phpsir@qq.com
Icp_port 0
C:\squid\etc\mime.conf.default copied into mime.conf
Create cache Directory
C:\squid\sbin\squid-z
Install into service
C:\squid\sbin\squid-i
Start a service
net start squid
For more information look here http://www.squid-cache.org/Doc/config/