Enable OPcache and Redis caching for performance
This commit is contained in:
@@ -10,6 +10,12 @@ display_errors = On
|
||||
display_startup_errors = On
|
||||
error_reporting = E_ALL
|
||||
|
||||
; Opcache settings (disabled for development for live reloading)
|
||||
opcache.enable = 0
|
||||
; Opcache settings - ENABLED for performance (even in dev on Windows/WSL2)
|
||||
opcache.enable = 1
|
||||
opcache.enable_cli = 0
|
||||
opcache.memory_consumption = 256
|
||||
opcache.interned_strings_buffer = 16
|
||||
opcache.max_accelerated_files = 20000
|
||||
opcache.validate_timestamps = 1
|
||||
opcache.revalidate_freq = 2
|
||||
opcache.fast_shutdown = 1
|
||||
|
||||
Reference in New Issue
Block a user