web加速器是一个减少网站访问延迟的代理服务器,可以是硬件也可以是软件。
技术
缓存最近最常访问的文档,这样客户端访问的时候延迟更低,传输速度更快
预读取可能很快即将被访问的文档
压缩文档,如降低图片的质量,或只发送文档上次请求后变化的部分
优化代码,如HTML或JSP
过滤广告活其他不需要的对象,这些对象根本不会被发送给用户
客户端和代理服务器之间采用TCP长连接
位置
web加速器可以安装在客户端(浏览器)电脑、移动终端设备或者ISP服务器端,或者两者都有。
客户端-服务端
两种选择--服务端或者客户端
客户端
2006年6月,这些应用程序用来提高拨号、宽带和其他连接的速度,许多用户可以获得平均2~10倍浏览速度提升体验,对一些特殊的站点,可以达到5~20倍。web加速器主要用于web浏览,有时也用于email,但是对于流媒体,游戏,P2P下载和其他Internet 应用并不能提高速度。但是一些公司如Cisco和F5,提出SaaS和PaaS,采用客户端加速的替代方式。
服务端
这种方式,web加速器安装在web服务器端,通过上述技术提高所以用户访问性能,如反向代理。这种方式带来的额外好处是,降低服务器负载,用更少的带宽,响应更多的用户,提高服务器稳定性。
最流行技术比较
压缩 | 操作系统 | 浏览器 | 缓存 | 预读取 | 优化代码 | 主机解析 | 广告过滤 | 客户 | 连接 | ||
---|---|---|---|---|---|---|---|---|---|---|---|
aiCache | Gzip | Linux | All | Yes | Yes | Yes | Yes | Yes | All | High Speed | Commercial |
CACHEbox | None | Appliance (Linux) | All | Yes | Yes | No | No | Yes | End user, ISP | Broadband, Satellite, Wireless, Fiber, DSL | Commercial |
CProxy | Gzip, images | Windows | All | Yes | ? | Yes | Yes | Yes | user | up to 756kbps | Free demo, full version 35USD per year |
FasterFox | None | Windows, Mac, Linux and Mobile devices | Firefox | Yes | Yes | No | No | No | user | Dialup, Wireless, Broadband, DSL | Free |
fasTun | Images, text & any gzippable data | Any | Any | No | No | HTML CSS | Yes | Yes | All | Any | Free |
Freewire | Images and email attachments | Windows, except NT and 95 | Internet Explorer 5.0 or higher | ? | ? | No | No | No | ISP | Dial-up | local rate |
Google Web Accelerator | Yes | Windows | Explorer, Firefox | Yes | Yes | No | No | No | user/Google server | Broadband | Free |
Netfury | Images, Text, Email, HTTP downloads | Windows, Mac | Explorer, Firefox, Opera, Netscape | Yes | No | No | No | No | End User, ISP | Dial-up, Broadband, DSL, ISDN, Satellite, Wireless | £24.99 |
Nitro | Images, Text, Email, HTTP downloads | Windows, Mac | Explorer, Firefox, Opera, Netscape | Yes | Yes | No | No | No | End User, ISP | Dial-up, Broadband, DSL, ISDN, Satellite, Wireless | $29.95 a year |
ONSPEED | Text & Images & Flash & Office Docs | Windows, Mac and Mobile devices | Any | No | No | No | No | No | user | Dialup, Wireless, Broadband, DSL | $49.99 (US) £24.99 pa Free (for users of BT Yahoo! Dialup Internet in the UK) |
Propel | Images, Text, Email, PDF, HTTP downloads | Windows, Mac | Explorer, Firefox, Opera, Netscape | Yes | No | No | No | No | End User, ISP | Dial, DSL, ISDN, Satellite, wireless | $44.95 US per year. Free with many ISP subscriptions |
Proxyconn Web Accelerator | Text & Images & Flash & Office Docs | Windows, Mac, Mobile devices | Any | Yes | Yes | No | No | No | user | Dialup, Wireless, Broadband, DSL | $47.88 Yearly or $5.95 Monthly |
RabbIT | Images, text & any gzippable data | Unix (Linux, *BSD, others), Windows, Mac (generally every system with Java 1.6 VM available) | Any | Yes | No | No | No | Yes | ISP | Any | Free |
SiteCelerate | Text & Images | ? | Any | Yes | Yes | No | No | No | user/ISP | Any | Per CPU |
Squid | Text & Images | ? | Any | Yes | Yes | Yes | Yes | Yes | user/ISP | Any | Per CPU |
Toonel | Text & Images | Windows, Linux, Mac OS, Symbian, WindowsMobile | Any | No | No | No | No | No | user/ISP | Any | Free |
Varnish | ? | Unix (Linux, *BSD, Mac OS X, others) | Any | ? | ? | ? | ? | ? | ? | Any | Free |
Ziproxy | Images, text & any gzippable data | Unix (Linux, *BSD, Mac OS X, others) | Any | No | No | HTML Javascript CSS | Yes | Yes | ISP | Any | Free |