SSL and TLS make WordPress up to four times faster

Jan Hornung Last updated 15.01.2020
3 Min.

There is a persistent belief that SSL or its successor protocol TLS make WordPress slow. The opposite is true - at least if you use the right technology.

More and more clients and users know the difference between an encrypted and unencrypted site . An SSL certificate creates trust - the green lock in the address line simply gives a good feeling. Just as well known as the positive effect of encryption, however, is the misconception that SSL, or TLS, makes WordPress slow.

Exactly the opposite is the case - provided that the server allows the use of SPDY. This optimized network protocol ensures that your site loads significantly faster through compression, improved data transfer and server push.

Update: SPDY has been merged into HTTP/2

The original article was about the experimental network protocol SPDY introduced by Google. This has since been incorporated into the HTTP/2 standard and has already been installed by many hosters. The principle of operation is fundamentally the same: through measures such as multiplexing and data compression, more data can be transferred in less time. It is important to note that HTTP/2, just like SPDY, can only be used with an encrypted connection. Decisive for this are the decisions of the browser operators.

SSL and TLS form the basis for SPDY

At the time of its creation, SPDY was an experimental TCP-based network protocol from Google. It was primarily developed to make data traffic more contemporary, i.e. more secure and faster.

In practice, you therefore need an SSL certificate to benefit from SPDY. However, if you have both set up, this can give your own site a significant performance boost. You can see the effect that setting up SPDY can have in this example.

In an initial test, we were able to quadruple the load time of HTTPS compared to HTTP on average. But how does SPDY achieve this performance boost?

SPDY compresses and optimizes data traffic via SSL / TLS

The secret lies in the type of data transmission: SPDY ensures that the data is broken down into small packets when using SSL / TLS. Thus, the existing connection between server and browser can be optimally occupied with data packets. SPDY transmits several data sets at the same time.

In addition, SPDY offers the possibility to prioritize certain data sets. Thus, data that is particularly important for the page layout can be transferred with priority. Above-the-fold optimization is thus significantly facilitated and your site feels faster.

If SSL / TLS is activated, SPDY offers the option of server push.

Another advantage of SPDY in terms of performance is the possibility of server push. The protocol instructs the server to send certain information to the client on suspicion, even without a request from the client. This reduces the number of HTTP requests and makes your site significantly faster, because the number of communication steps between browser and server is reduced.

SPDY must be set up on the server just like SSL / TLS

But how do you activate SPDY? When a browser contacts a server, it informs the server of its SPDY capability in the so-called handshake (the first contact, so to speak). If SPDY is now set up on the server, nothing stands in the way of fast and secure data transmission.

The colleagues at Google have summarized how to check if your server supports SPDY and how to set it up on Apache and Nginx.

Conclusion: SPDY is fast and secure, but requires SSL / TLS

Before setting up an SSL certificate, you should therefore check whether your server supports SPDY. If your host uses SPDY, you can be sure that your site currently offers excellent conditions for secure and fast data traffic.

In the middle of the year, the HTTP/2 standard was also introduced, which is largely based on SPDY and represents an even more effective solution for super-fast data transmission under SSL / TLS. Sooner or later SPDY will be completely merged into this new standard.

You've already had experience with SPDY you would like to share with our community or have questions about the new standard? Then simply leave a comment on this blog post.

RAIDBOXER from the very start and our Head of Support. He loves talking about PageSpeed and website performance at BarCamps and WordCamps. The best way to bribe him is with an espresso – or a Bavarian pretzel.

Related articles

Comments on this article

Post a comment

Your email address will not be published. Required fields are marked with *.