当前位置:

使用 google AJAX Libraries 的好处

539 views2010-03-16无人留言

Caching can be done correctly, and once, by us… and developers have to do nothing

使用缓存

Gzip works

支持 gzip 压缩(可以节约用户带宽)

We can serve minified versions

可以使用 js lib 的任何版本

The files are hosted by Google which has a distributed CDN at various points around the world, so the files are “close” to the user

让 google 做我们的 CDN 服务器

The servers are fast

google服务器更快

By using the same URLs, if a critical mass of applications use the Google infrastructure, when someone comes to your application the file may already be loaded!

不同站点共享 cache?

A subtle performance (and security) issue revolves around the headers that you send up and down. Since you are using a special domain (NOTE: not google.com!), no cookies or other verbose headers will be sent up, saving precious bytes.

安全?

完整文档:http://code.google.com/apis/ajaxlibs/documentation/#AjaxLibraries

 
类别:
除非特殊说明,本站文章均为鹏讯科技版权所有,转载请注明出处。
如本站引用的文字、图片、其它媒体等侵犯了您的权益,请及时告知,我们将会在第一时间删除。

发表评论:

姓名:

邮件:

网址:


当前用户: validated XHTML 1.0 - CSS 3 - Section 508 - PR
Copyright © 2005-2010 陕西鹏讯科技 版权所有