Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-24, 10:53:56

Author Topic: Does http/2 work ?  (Read 4161 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Does http/2 work ?
« on: 2016-05-22, 17:59:56 »
Is it ready ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Does http/2 work ?
« Reply #1 on: 2016-05-22, 18:55:33 »
Yes for apache 2.4 and nginx, especially for https.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Does http/2 work ?
« Reply #2 on: 2016-05-23, 00:20:51 »
I don't think so:

Quote
Negative! forum.mratwork.com does not support HTTP/2.0.

https://tools.keycdn.com/http2-test

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Does http/2 work ?
« Reply #3 on: 2016-05-23, 00:36:41 »
checking my site with latest kloxomr version

Quote
HTTP/2 Test Result hostmikro.com
Yeah! hostmikro.com supports HTTP/2.0. Share via:  Twitter
ALPN is not supported.

but the http headers using curl says http/1.1
Code: [Select]
[root@core ssl]# curl -I -L hostmikro.com
HTTP/1.1 302 Found
Server: nginx/1.10.0
Date: Sun, 22 May 2016 22:44:29 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 210
Connection: keep-alive
Location: https://www.hostmikro.com/
Cache-Control: max-age=0
Expires: Sun, 22 May 2016 22:44:29 GMT
X-Micro-Cache: MISS

HTTP/1.1 200 OK
Server: nginx/1.10.0
Date: Sun, 22 May 2016 22:44:29 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 14799
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: PHP/5.6.21
Cache-Control: private, must-revalidate
pragma: no-cache
expires: -1
X-Content-Type-Options: nosniff
X-XSS-Protection: 1;mode=block
X-Frame-Options: SAMEORIGIN
Access-Control-Allow-Origin: *
Upgrade: h2
X-Mod-Pagespeed: Powered By Google ModPagespeed
Vary: Accept-Encoding
Cache-Control: max-age=0, no-cache
X-Micro-Cache: MISS
« Last Edit: 2016-05-23, 00:53:15 by Wibowo »

Offline Chazy Chaz

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Does http/2 work ?
« Reply #4 on: 2016-05-23, 17:33:12 »
I can't get http/2 working with apache, does someone got it working? Or just with nginx?

Wibowo your website is using http/2 you can see it in the dev options on your browser in the networking tab -> headers it says version: http/2.0

The curl "problem" showing http 1.1 when it's crearly h2 it's explained in the docs:

Quote
We hide HTTP/2's binary nature and convert received HTTP/2 traffic to headers in HTTP 1.1 style. This allows applications to work unmodified.

I think it's something temporal, at least until the transition to h2 is over.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.035 seconds with 19 queries.

web stats analysis