Squid2.6 reverse proxy for Web Cache AccelerationMajor improvements 1. Converged acceleration and reverse functions major improvements to the way that squid handles web proxy, accelerated and transparent proxy requests to make it easier to configure transparent and acceleration functionality. the default behaviour is to function as a standard HTTP proxy on each port that squid is configured to listen on, but in addition in this release the keywords "accelerated" and "Transparent" can be specified after each port to indicate to squid the functionality that is to be enabled on that port. this means that the old config directives relating to httpd_accel _ * are now deprecated. 2. Behavior Analysis logging enhancements to allow even greater customization of the way squid logs requests in the access-log or to syslog if requiredsupport for parsing X-forwarded-for headers allowing access controls to be based on the real client IP even if behind secondary proxiessupport for etag and vary HTTP headers. this further moves squid towards HTTP/1.1 compliance. the vary header field is used for improved caching and delivery of customized content to end clients, and the etag is used similar to an MD5 checksum between client and server to determine if a web page has changed since it was last retrieved.
1. Use http_port and cache_peer rulesBecauseHttpd_accel_host is replaced by the http_port and cache_peer options.Httpd_accel_port is defined by cache_port.
Httpd_accel_uses_host_header is replaced by the http_port vhost option.Then
----------------------------------------------------
Ajax. AAA. com request/| squid |/127.0.0.1 ajax.aaa.com 80
Sns.xxx.com request | 211.100.100 sns.xxx.com 80
Live.yyy.com request -- | 10.10.10.10/11 | ---- 169.100.100 live.yyy.com 81
Tag.zzz.com request/|/etc/hosts |/58.100.100 tag.zzz.com 82
------------------------- --------------------------- Http_port 110.10.10.10: 80 transparent vhost vport cache_peer partition parent 80 0 no-query originserver cache_peer partition parent 80 0 no-query originserver cache_peer partition parent 81 0 no-query originserver cache_peer partition parent 82 0 no-query originserver 2. Log improves the and log record methods, logs can be recorded in system logs or access-logs. After the X-forwarded-for headers function is introduced, log can be directly analyzed through the background web log B, X-forwarded-for headers function to make the back-end accelerated web log more convenient for analysis, you can directly analyze the logs of the backend web to analyze user behavior. The log logs of the backend web in the previous version are all from the front-end squid machine and cannot be directly analyzed from the backend.