A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
Cloud Platform limits maximum request time to 600 seconds. Outdated Twig cache directories are removed 700 seconds after a code deployment completes, ensuring no active processes still need access to older Twig cache directories.
To alter the Twig cache storage directory, overwrite the value for $settings['php_storage']['twig']['directory'] in your application’s sites/default/settings.php file after the Acquia settings require line, as shown in the following example:
// On Cloud Platform, this include file configures Drupal to use the correct
// database in each site environment (Dev, Stage, or Prod).
if (file_exists('/var/www/site-php')) {
require('/var/www/site-php/mysite/mysite-settings.inc');
}
// Alter the Twig cache storage directory.
$settings['php_storage']['twig']['directory'] = '/mnt/tmp/mysite/php_storage/twig';Twig caches for the websites hosted by Site Factory are stored in an environment in the following directory:
/mnt/tmp/[SITENAME]/php_storage/twig/[GITREF]/[DATABASE_ROLE]To alter the Twig cache storage directory, overwrite the value for $settings['php_storage']['twig']['directory'] in your application’s sites/default/settings.php file after the Acquia settings require line, as shown in the following example:
// On Cloud Platform, this include file configures Drupal to use the correct
// database in each site environment (Dev, Stage, or Prod).
if (file_exists('/var/www/site-php')) {
require('/var/www/site-php/mysite/mysite-settings.inc');
}
// Alter the Twig cache storage directory.
$settings['php_storage']['twig']['directory'] = '/mnt/tmp/mysite/php_storage/twig';Twig caches for the websites hosted by Site Factory are stored in an environment in the following directory:
/mnt/tmp/[SITENAME]/php_storage/twig/[GITREF]/[DATABASE_ROLE]If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.