DrupalStand / drupal-dev-docker

An opinionated Drupal development environment based on Docker.
GNU General Public License v2.0
22 stars 19 forks source link

Precompiled bytecode for docker images #25

Open jackinloadup opened 6 years ago

jackinloadup commented 6 years ago

Used on AORG atm

Looks to be a great win especially if we can package the file cache inside docker.

https://medium.com/@dylanwenzlau/500x-faster-caching-than-redis-memcache-apc-in-php-hhvm-dcd26e8447ad

; configuration for php opcache module ; priority=10 zend_extension=opcache.so opcache.file_cache=/var/php/opcache opcache.file_cache_only=1 # Useful for CLI opcache.file_cache_consistency_checks=1 opcache.memory_consumption=128 # MB opcache.max_accelerated_files=10000 opcache.max_wasted_percentage=10

jackinloadup commented 5 years ago

Drupal startup time and opcache - faster scaling for PHP in containerized environments - Jeff Geerling.

His assessment doesn't quite look into precompiled delivery. It looks more into speeding up the normal boot compile process via possible PHP 7.4 functionality called Preloading which is currently in RFC phase.