Enable OPcache and Redis caching for performance

This commit is contained in:
2026-03-09 04:02:29 +02:00
parent 1e868b3ac1
commit a55fafd3a9
4 changed files with 14 additions and 8 deletions

View File

@@ -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