Prefork vs Event

Peter Laws

Verified User
Joined
Sep 13, 2008
Messages
1,826
Location
London UK
I'm finding Prefork preforms much better than Event, well, on a VM/VPS..... If I use Event, I see a hefty delay on first load of pages (TTFB?), while Prefork is instant...

* Sometimes it's fast, sometimes get a delay on Event.

Apache 2.4.27 and higher will not negotiate http2 with mpm_prefork. Please do not use mod_php or disable http2 in the directadmin.conf
Does this mean http2 is now an Event only thing?
 

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
403
Location
UA
As I understand - it relays to mod_php only. If You use cgi\fcgi\fpm - there is no limitations
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,300
Location
LT, EU
"worker" MPM has no issues with HTTP/2 too. It's only a limitation of prefork.
 
Top