Use Opcache preloading on heroku server.

This commit is contained in:
Jan Böhmer 2020-03-31 18:16:30 +02:00
parent fedb78d44a
commit d4d2dece70
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
web: $(composer config bin-dir)/heroku-php-apache2 public/
web: $(composer config bin-dir)/heroku-php-apache2 -i heroku_php.ini public/

1
heroku_php.ini Normal file
View file

@ -0,0 +1 @@
opcache.preload=/app/var/cache/prod/App_KernelProdContainer.preload.php