There is a persistent belief that SSL or the 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 bar simply gives a good feeling. However, just as well known as the positive effect of encryption is the misconception that SSL, or TLS, makes WordPress slow.
Exactly the opposite is the case - provided the server enables the use of SPDY. This optimized network protocol ensures that your page loads significantly faster thanks to compression, improved data transfer and server push.
Update: SPDY has been merged into HTTP/2
The original article deals with the experimental network protocol SPDY introduced by Google. This has now been incorporated into the HTTP/2 standard and has already been installed by many hosts. The functional principle is basically 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 modern, i.e. more secure and faster.
In practice, you therefore need an SSL certificate in order to benefit from SPDY. However, if you have set up both, 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 loading 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. This means that the existing connection between server and browser can be optimally filled with data packets. SPDY transmits several data records at the same time.
SPDY also offers the option of prioritizing certain data records. This means that data that is particularly important for the page structure can be transferred with priority. This makes above-the-fold optimization much easier and makes your site feel 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 makes contact with 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 from Google have summarized how to check whether 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 absorbed into this new standard.
Have you already had experience with SPDY that is relevant to our community or do you have questions about the new standard? Then simply share them in a comment on this blog post.