Performance: OPcache, gzip, font subsetting, lazy-loaded pages
- Enable PHP OPcache in Docker (256MB, dev-friendly settings) - Enable gzip compression in nginx + immutable caching for /build/ assets - Reduce fonts to latin-only subsets (from 28 files to ~6) - Lazy-load Vue pages via dynamic imports (D3 no longer loaded on login) - MetroMap chunk split out separately (62KB only when needed) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
9
docker/php/opcache.ini
Normal file
9
docker/php/opcache.ini
Normal file
@@ -0,0 +1,9 @@
|
||||
[opcache]
|
||||
opcache.enable=1
|
||||
opcache.memory_consumption=256
|
||||
opcache.interned_strings_buffer=64
|
||||
opcache.max_accelerated_files=32531
|
||||
opcache.validate_timestamps=1
|
||||
opcache.revalidate_freq=0
|
||||
opcache.save_comments=1
|
||||
opcache.fast_shutdown=1
|
||||
Reference in New Issue
Block a user