HTTPS在Apache;它会减慢阿帕奇? [英] HTTPS on Apache; Will it slow Apache?

查看:238
本文介绍了HTTPS在Apache;它会减慢阿帕奇?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的公司经营目前仅支持HTTP流量的网站。
我们计划支持HTTPS流量过一些客户的谁链接到我们的网页要我们支持HTTPS流量。

Our company runs a website which currently supports only http traffic. We plan to support https traffic too as some of the customers who link to our pages want us to support https traffic.

我们的网站获取流量适量,但预计随着时间增加。

Our website gets moderate amount of traffic, but is expected to increase over time.

所以我的问题是这样的:

So my question is this:

这是个好主意,使我们的网站只有HTTPS?(重定向所有的HTTP流量HTTPS)
这是否会降低网站的性能?

Is it a good idea to make our website https only?(redirect all http traffic to https) Will this bring down the websites performance?

任何人做任何类型的测量?

Has anyone done any sort of measurement?

PS:我是一个开发商谁也双打作为一个Apache的管理员。

PS: I am a developer who also doubles up as a apache admin.

推荐答案

我就不会担心服务器的负荷;除非你所服务的静态内容高容量,加密本身不会造成太大的负担,以我的经验。

I wouldn't worry about the load on the server; unless you are serving high volumes of static content, the encryption itself won't create much of a burden, in my experience.

然而,使用SSL戏剧性地在连接建立创造了更多的等待时间会减慢网站。

However, using SSL dramatically slows down web sites by creating a lot more latency in connection setup.

这是加密的会话需要大约*三倍多的时间设置为未加密的,以及确切时间取决于延迟。

An encrypted session requires about* three times as much time to set up as an unencrypted one, and the exact time depends on the latency.

即使在低延迟的连接,值得注意的是最终用户,但在高延迟(如不同的大陆,尤其是澳大利亚,其中延迟到美国/欧洲是相当高的),它使一个巨大的差异,将严重影响用户体验

Even on low latency connections, it is noticeable to the end user, but on higher latency (e.g. different continents, especially Australasia where latency to America/Europe is quite high) it makes a dramatic difference and will severely impact the user experience.

有事情可以做,以减轻它,例如确保保持活动上(但不要打开它们不理解的影响是什么),尽量减少请求的数量,最大限度地利用浏览器缓存。

There are things you can do to mitigate it, such as ensuring that keep-alives are on (But don't turn them on without understanding exactly what the impact is), minimising the number of requests and maximising the use of browser cache.

使用HTTPS也影响在某些情况下,浏览器的行为。一定的优化往往会得到关闭,出于安全原因,有些Web浏览器不存储在磁盘缓存加载通过HTTPS对象,这意味着他们需要在以后的会议上再次得到他们,进一步影响了用户体验。

Using HTTPS also affects browser behaviour in some cases. Certain optimisations tend to get turned off for security reasons, and some web browsers don't store objects loaded over HTTPS in the disc cache, which means they'll need to get them again in a later session, further impacting the user experience.

*基于一些非正式的测量估计值

* An estimate based on some informal measurement

这篇关于HTTPS在Apache;它会减慢阿帕奇?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆