Welcome to WebmasterWorld Guest from 54.167.112.42

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Any advantage activating http2 on apache?

     
11:06 am on Feb 28, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:887
votes: 11


Hi so I’ve installed ssl now folks advise me to install http/2 on my apache site.

Is this worth it? Please advise thanks!
11:08 am on Feb 28, 2018 (gmt 0)

Full Member

Top Contributors Of The Month

joined:Apr 20, 2017
posts:334
votes: 73


Yes, it is.
11:14 am on Feb 28, 2018 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 890


Some advantages to using HTTP/2 are:

• Single Connection. Only one connection to the server is used to load a website, and that connection remains open as long as the website is open. This reduces the number of round trips needed to set up multiple TCP connections.

• Multiplexing. Multiple requests are allowed at the same time, on the same connection. Previously, with HTTP/1.1, each transfer would have to wait for other transfers to complete.

• Server Push. Additional resources can be sent to a client for future use.

• Prioritization. Requests are assigned dependency levels that the server can use to deliver higher priority resources faster.

• Binary. Makes HTTP/2 easier for a server to parse, more compact and less error-prone. No additional time is wasted translating information from text to binary, which is the computer’s native language.

• Header Compression. HTTP/2 uses HPACK compressions, which reduces overhead. Many headers were sent with the same values in every request in HTTP/1.1

Short answer... your site will load much faster :)

- - -
12:47 pm on Feb 28, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 25, 2005
posts:1982
votes: 330


Performance-wise, the order tends to be HTTPS (1.1) < HTTP (1.1) < HTTPS (2).

So just enabling HTTPS on HTTP/1.1 slows you down, enabling HTTP/2 speeds you back up... and beyond.
2:21 pm on Feb 28, 2018 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4055
votes: 249


You can read more and see a demo of the speed differences on this older post I wanna go fast: HTTP2's massive speed advantage [webmasterworld.com]
4:48 am on Mar 1, 2018 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 890


Related links:

What is HTTP/2? [webmasterworld.com]

HTTP/2 Check [tools.keycdn.com]

HTTP/2 FAQ [http2.github.io]

Browsers that support HTTP/2 [caniuse.com]

- - -
10:34 am on Mar 1, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:887
votes: 11


Thanks as always guys I’ll be enabling http2 with ssl for sure
11:59 pm on Mar 1, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:887
votes: 11


A question I read browsers won’t use http2 if the url has http instead of https ie ssl. Is this correct?
12:05 am on Mar 2, 2018 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 890


...browsers won’t use http2 if the url has http instead of https ie ssl. Is this correct?
@born2run - Yes. Although browsers are *capable* of using HTTP/2 with the HTTP protocol, all the major browsers decided they would not, and only support HTTP/2 over secure pages that use HTTPS.


...I’ll be enabling http2 with ssl for sure
You mean "TLS."
(SSL is no longer used.)
9:43 am on Mar 2, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:887
votes: 11


So now with ssl should I have https in the canonical links or http or relative is fine? Thanks!
9:55 am on Mar 2, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 25, 2005
posts:1982
votes: 330


HTTPS only. Are you redirecting from HTTP to HTTPS yet?
1:48 pm on Mar 2, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:887
votes: 11


Yes, I'll be redirecting http to https I'm in the process of setting up the software so been busy.

And so I'll change all canonical links in my html code to https only. Thanks!
2:18 pm on Mar 2, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
posts:887
votes: 11


robzilla so the canonical links have to be https and absolute?
5:41 pm on Mar 2, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 25, 2005
posts:1982
votes: 330


Ideally, yes.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members