drupal-docker / php

Dockerized PHP for Drupal :droplet::whale:
https://hub.docker.com/r/drupaldocker/php/
MIT License
38 stars 51 forks source link

Change PHP's opcache.revalidate_freq to 2 seconds #60

Closed slashrsm closed 8 years ago

slashrsm commented 8 years ago

60 seconds (current setting) makes default for non-dev images, but in dev environments can be too much. 2 seconds is default value and seems to be OK for most development environments.

zaporylie commented 8 years ago

Agreed. No need to use sed though, we can just add new ini file with drupal-x- prefix, i.e. drupal-x-opcache.ini, and put all overrides there.

slashrsm commented 8 years ago

Good point! Done!