4月 112017
 

IPv6 更快有两个原因。第一点,像 iOS、MacOS、Chrome 和 Firefox 这样的主流的操作系统或者浏览器,在它们使用 IPv4 连接的时候,会强加一个 25ms~300ms 的人工延迟。第二点,某些仅支持 IPv6 的移动终端网络就无需进行 v4→v6 或 v6→v4 这样的翻译以使用户成功访问仅支持 IPv6 网络的站点。国内三大运营商也已制定分阶段的下一代互联网发展规划,并在全国 30 多个城市重点升级改造了公众互联网、专用业务承载网以及 3G/4G 移动分组域,并加快 IDC 数据中心以及自营业务平台的升级改造,目前已发展 IPv6 用户超过 1100 万。

4月 082017
 

” 之前谷歌,苹果和火狐都因为 StartCom 被沃通悄悄收购而撤销了信任。StartCom 在官网表示其会在 4 月 10 日使用新网站 https://www.startcomca.com/ 发行新的证书。问题是使用 Chrome,火狐或者苹果设备访问 https://www.startcomca.com/ 都会显示证书被吊销,而禁止访问。证书被吊销的警告比自签名证书的警告还要严重。因为自签名证书的警告用户可以忽略并继续浏览,而如果采用 StartCom 的证书,警告证书被吊销没有办法忽略,用户没有办法继续浏览。”

4月 062017
 

百度分享本地化资源包下载:https://github.com/hrwhisper/baiduShare
static 解压后丢到站点根目录下即可。
然后对应的百度分享代码中,把http://bdimg.share.baidu.com/改为 /

即:
.src=’http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=’+~(-new Date()/36e5)];

改为
.src=’/static/api/js/share.js?v=89860593.js?cdnversion=’+~(-new Date()/36e5)];

2月 272017
 

Google一直擅长分享其丰富的信息,包括将其全部捐赠给开源社区。这一次轮到了E2EMail,一个实验性质的端到端加密系统。E2EMail由Google开发,内置JavaScript内部开发的JavaScript加密库。它提供了一种通过Chrome扩展程序将OpenPGP集成到Gmail中的方法。消息的明文单独保留在客户端上。

E2EMail在谷歌当前一个中央密钥服务器上进行测试,根据最近的密钥透明度公告显示,OpenPGP方式的核心密钥坚实,可扩展,因此这种解决方案,取代了传统上与PGP一起使用的有问题的网络信任模型。

E2EMail代码目前已经上传到GitHub,每个人都可以访问查看代码。 Continue reading »

2月 202017
 

從去年(2014)開始微軟就一直陸續放有缺陷的更新出來
導致很多使用者災情慘重、哀鴻遍野…orz
自從今年(2015)的4月更新完後,拙者的Windows Update就癱瘓掉了
每次點選檢查更新後,沒多久肯定會跑出錯誤代碼 8007000E
很不幸的,拙者應該就是去踩到微軟的罠(陷阱)
一切都是微軟為了Windows10的布局啊!!!! Continue reading »

2月 182017
 

Update .gitmodules with the path to the new repository
Remove the corresponding line from the “.git/config” file
Delete the corresponding directory in the “.git/modules/external” directory
Delete the checked out submodule directory itself (unsure if this is necessary)
Run git submodule init and git submodule update
Make sure the checked out submodule is at the correct commit, and commit that, since it’s likely that the hash will be different
After doing all that, everything is in the state I would expect.

  发表于 13:16  Tagged with:
1月 222017
 

By: Ryan Frankel Posted: May 9, 2016

 

TL; DR: We assess two of the most popular web servers: NGINX and Apache, on six key points of comparison (performance for static vs. dynamic content, OS support, security, flexibility, documentation, and support). We’ll find that the two are worthy competitors, but Apache’s .htaccess file makes it particularly appealing to shared hosting customers. Meanwhile, NGINX reigns supreme for dynamic content support, and due in part to its more advanced feature offerings, is most popularly used by VPS and dedicated hosting users. Finally, we’ll go over our recommendations for hosting your next web app project.

There was a time (~late 90s-2011) when the Apache web server served around 60 percent — and at times even more — of the world’s websites. That percentage has since fallen below 35 and is still dropping at quite a significant rate. Meanwhile, Microsoft’s IIS web server has held a somewhat steady, slightly increasing, share of the market, reaching 30 percent today. Third place is held by a competitor called NGINX (pronounced “engine-x”), which currently serves around 16 percent of all sites, and that rate is steadily growing by about one percent each year.

I’ll note that some web surveyors place the market shares of Apache and NGINX much higher, considering IIS a lesser competitor. Reality likely resides somewhere in the middle, but the overall trends are clear. Considering only the busiest sites on the Web, Apache holds about 46 percent of the market share, but that portion drops by about four percent annually; NGINX holds a strong second place with 24 percent of the market share and is growing at a rate of about three percent each year. Clearly NGINX is enticing the world’s biggest web properties with something! Continue reading »

1月 222017
 
January 28, 2015

Introduction

Apache and Nginx are the two most common open source web servers in the world. Together, they are responsible for serving over 50% of traffic on the internet. Both solutions are capable of handling diverse workloads and working with other software to provide a complete web stack.

While Apache and Nginx share many qualities, they should not be thought of as entirely interchangeable. Each excels in its own way and it is important to understand the situations where you may need to reevaluate your web server of choice. This article will be devoted to a discussion of how each server stacks up in various areas. Continue reading »