1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

Enabled compression

This commit is contained in:
Eldad Fux 2020-07-02 09:44:16 +03:00
parent c3fb15abb9
commit 214b551d32

View file

@ -15,7 +15,7 @@ ini_set('display_errors', 1);
ini_set('display_startup_errors', 1); ini_set('display_startup_errors', 1);
error_reporting(E_ALL); error_reporting(E_ALL);
$http = new Server("localhost", 80); $http = new Server("localhost", 9501);
$http $http
->set([ ->set([
@ -23,6 +23,8 @@ $http
'document_root' => __DIR__ . '/../public', 'document_root' => __DIR__ . '/../public',
'enable_static_handler' => true, 'enable_static_handler' => true,
'timeout' => 4, 'timeout' => 4,
'http_compression' => true,
'http_compression_level' => 6,
]) ])
; ;