logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: http/2 slower
Author
oeriksen



Joined: 12 Mar 2013
Posts: 8
Location: Norway

PostPosted: Wed 02 Mar '16 0:40    Post subject: http/2 slower Reply with quote

I've set up a test with Apache 2.4.18 Win64 and PHP 5.6.18 running parallel with Apache 2.4.10 Win32 and PHP 5.5.18 (which is running a live site). Both Apache is serving the same site (duplicate files). I've been testing http/2 (quite a lot) on 2.4.18 for speed with webpagetest.org. On basic pages with just a couple of images the speed is pretty much the same. But on a page with 30 images around 15KB each http/2 is much slower. http/2 is at best 7.5 seconds but normal http/https is both 4-4.5 seconds. And that's on both Apache. I've tested with both Chrome and Firefox on webpagetest.org and the result is the same each time. This server is on a 4mbit internet connection, can that be a factor? I've tried searching the internet but "everyone" is saying http/2 is/will be much faster... Does anyone have any thought? Any experience?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 08 Mar '16 17:54    Post subject: Reply with quote

Apachelounge is faster since it uses HTTP/2. Of cause that works only if the browser / test client can make use of KeepAlive and HTTP/2. The first request can be slower since the browser can to perform the offered Upgrade from HTTP/1.1 to 2
Back to top


Reply to topic   Topic: http/2 slower View previous topic :: View next topic
Post new topic   Forum Index -> Apache