请你GZip js.live.net/v5.0/wl.js [英] Please can you GZip js.live.net/v5.0/wl.js
问题描述
我从文档中收集到,在HTML5 / JavaScript应用程序中包含Windows Live身份验证的批准方式是在js.live.net上引用托管的wl.js脚本?
I gather from the documentation that the approved way of including Windows Live authentication in an HTML5/JavaScript app is by referencing the hosted wl.js script on js.live.net?
我一直在我的网站上运行PageSpeed,除了wl.js之外,所有内容都是gzip压缩的。你有可能在你的服务器上启用静态内容压缩吗?
I've been running PageSpeed on my site, and everything is gzipped except for wl.js. Any chance you could enable static content compression on your server, please?
干杯,
马克
Cheers,
Mark
推荐答案
启用压缩。如果您打开fiddler,并加载此页面:
http://isdk.dev.live.com/ 。你应该能够找到wl.js响应有以下响应头:
Compression is enabled. If you open fiddler, and load this page: http://isdk.dev.live.com/. You should be able to find the wl.js response has the following response header:
内容长度:23843
Content-Length: 23843
内容类型:text / javascript
Content-Type: text/javascript
内容 - 编码:gzip
Content-Encoding: gzip
该文件的完整长度为60310。
The full lenth of that file is 60310.
谢谢,
Lin
这篇关于请你GZip js.live.net/v5.0/wl.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!