How to check if my site uses HTTP/2 or HTTP/1.1 ?

Gmeister4

Well-known member
Registered
Joined
Apr 19, 2016
Messages
178
Points
18
Can anyone tell me how to check if my site uses HTTP/2 or HTTP/1.1 ? Is it possible to decide if I want to use HTTP/2 or HTTP/1.1? many thanks!
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83

Gmeister4

Well-known member
Registered
Joined
Apr 19, 2016
Messages
178
Points
18
Gmeister4
Right, I saw the result with http 2 is supported for my website. thanks for sharing!

Is there a way to check without using tool?
 

Shakr

New member
Registered
Joined
Nov 17, 2016
Messages
5
Points
3
Shakr
Hi,

Yes with curl

Example :
Code:
root@dev~$ curl -I https://forumweb.hosting/
HTTP/2 200 <--- Protocol
date: Mon, 15 Jul 2019 12:22:06 GMT
content-type: text/html; charset=UTF-8
set-cookie: __cfduid=d7b8fe52a5e204875bdb73519c43156319gh25; expires=Tue, 14-Jul-20 13:22:05 GMT; path=/; domain=.forumweb.hosting; HttpOnly
x-powered-by: PHP/7.2.8
vary: Accept-Encoding,Cookie,User-Agent
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 4f6c0b121e5ecd8f-CDG
 

S4 Hosting

Well-known member
Moderator
Hosting Provider
Joined
Mar 5, 2021
Messages
177
Points
16
I use a browser extension that shows the protocol that the site I'm visiting is using, by changing colour.

There are a load of them available for Firefox or Chrome, I think the one I am using is just called 'Protocol Indicator'.
 

Dopani

Well-known member
Registered
Joined
Mar 11, 2014
Messages
233
Points
18
Dopani
Any benefits from HTTP/2 or HTTP/1.1?
i didn't care about this before.
 

S4 Hosting

Well-known member
Moderator
Hosting Provider
Joined
Mar 5, 2021
Messages
177
Points
16
S4 Hosting
HTTP/2 is faster and more efficient, mostly due to multiplexing and the ability to prioritise resource loads.

This conversation is a bit behind the times, as we are heading towards HTTP/3 (QUIC) as a standard, LiteSpeed has a good working implementation and it's experimental in nginx.

If your hosting provider doesn't have HTTP/2 as a default and it isn't running on your servers, then ask them why not.
 
Latest Threads
Replies
1
Views
56
Replies
0
Views
47
Replies
0
Views
65
Recommended Threads
Replies
8
Views
2,562
Replies
10
Views
4,220
Replies
2
Views
1,130

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top