Page 1 of 1

[SOLVED] Configure HTTP/2 opencart oc2 (= bitdefender problem)

Posted: Tue Jan 19, 2021 12:24 am
by herve11170
Hello
My hosting is HTTP/2 Ready and my website (Opencart V2.0.1.1) is in lighthouse check to HTTP/1.1
In the Web, sites says that we don't need to do nothing to use HTTP/2 apart using a Hosting who is HTTP/2 Ready.
But mine is still to HTTP/1.1
Do I have to modify something in Opencart to works in HTTP/2 ?
Do I have to do something else ?
I search and have no chance about this theme.
My Website got his SSL, with Https and Seo friendly.
If anyone could help me would be welcome, i'm newbie with HTTP/2.
Thank you very much

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 12:41 am
by EvolveWebHosting
herve11170 wrote:
Tue Jan 19, 2021 12:24 am
Hello
My hosting is HTTP/2 Ready and my website (Opencart V2.0.1.1) is in lighthouse check to HTTP/1.1
In the Web, sites says that we don't need to do nothing to use HTTP/2 apart using a Hosting who is HTTP/2 Ready.
But mine is still to HTTP/1.1
Do I have to modify something in Opencart to works in HTTP/2 ?
Do I have to do something else ?
I search and have no chance about this theme.
My Website got his SSL, with Https and Seo friendly.
If anyone could help me would be welcome, i'm newbie with HTTP/2.
Thank you very much
What's your domain? Who are you hosting with? What control panel are you using?

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 12:58 am
by herve11170
My domain is: https://www.lecroissantfrances.com
My hosting is: https://www.dondominio.com (i have made on my own 2 tests wich result OK FOR HTTP/2 and they confirm me that they are HTTP/2 Ready)
I have the dondominio cpanel. I ask them how do I do to switch from HTTP/1.1 to HTTP/2 and waiting for them to reply.
But I don't know if I have to configure something else in Opencart...

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 2:11 am
by herve11170
My hosting just reply and say that for them everything is allright : "The HTTP language method that it uses will depend on the programming of your website, as far as the server level we use HTTP2 by default since there would be no apparent error from Dondominio (hosting).
Well, I think there is something to modify in Opencart to be Ready for HTTP/2.
Can u help me please ?

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 2:26 am
by ADD Creative
There are no settings in OpenCart for HTTP/2.

How are you testing? This is what Firefox says.

Code: Select all

GET https://www.lecroissantfrances.com/
Status 200 OK
Version HTTP/2
Transferred 18.10 kB (88.17 kB size)

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 2:36 am
by herve11170
I check with firefox or chrome lighthouse and it display "HTTP/1.1".
Do I do it bad?
I add an image of this.

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 4:06 am
by JNeuhoff
Your OpenCart website is fine, it supports HTTP/2. Have cleared the browser caches? Are you using the latest versions of the major web browsers?

Also worth checking this one: https://stackoverflow.com/questions/411 ... tp2-server

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 2:38 pm
by herve11170
Hello,
I have cleared both browers caches. I use firefox 84.0.2 (64bits) and chrome 87.0.4280.141 (build official 64 bits).
Both have the plugin to display if use HTTP/2, and don't understand why both don't display HTTP/2.
I add the print screen of the url bar of both browsers with the symbol staying grey (grey=HTTP/1.1 - blue=HTTP/2).

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 2:43 pm
by herve11170
OK, I apologise, it was Bit defender who block the plugin for my website.
Thanks a lot for your help!

Re: Configure HTTP/2 opencart oc2

Posted: Tue Jan 19, 2021 5:39 pm
by paulfeakins
herve11170 wrote:
Tue Jan 19, 2021 2:43 pm
OK, I apologise, it was Bit defender who block the plugin for my website.
Thanks a lot for your help!
Great, please add [SOLVED] to the start of the post title.