{"action":"opened","issue":{"url":"https://api.github.com/repos/acquia/blt/issues/813","repository_url":"https://api.github.com/repos/acquia/blt","labels_url":"https://api.github.com/repos/acquia/blt/issues/813/labels{/name}","comments_url":"https://api.github.com/repos/acquia/blt/issues/813/comments","events_url":"https://api.github.com/repos/acquia/blt/issues/813/events","html_url":"https://github.com/acquia/blt/issues/813","id":196515706,"number":813,"title":"Clear Twig caches","user":{"login":"danepowell","id":1984514,"avatar_url":"https://avatars.githubusercontent.com/u/1984514?v=3","gravatar_id":"","url":"https://api.github.com/users/danepowell","html_url":"https://github.com/danepowell","followers_url":"https://api.github.com/users/danepowell/followers","following_url":"https://api.github.com/users/danepowell/following{/other_user}","gists_url":"https://api.github.com/users/danepowell/gists{/gist_id}","starred_url":"https://api.github.com/users/danepowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danepowell/subscriptions","organizations_url":"https://api.github.com/users/danepowell/orgs","repos_url":"https://api.github.com/users/danepowell/repos","events_url":"https://api.github.com/users/danepowell/events{/privacy}","received_events_url":"https://api.github.com/users/danepowell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-19T20:41:52Z","updated_at":"2016-12-19T20:41:52Z","closed_at":null,"body":"We hit a bug after making a change to a Twig template and deploying to production where page requests would randomly pick up the new or old template, depending on which web head served the request. It turns out that `drupal_flush_all_caches` and its ilk (`drush cr`) does not clear the Twig template cache across multiple web servers.\r\n\r\nThis issue is described here https://docs.acquia.com/article/drupal-8-cache-backend\r\n\r\nUntil this is fixed in Drupal core, BLT seems like the best place to fix this, maybe via a custom function in a post-code-deploy / post-code-update cloud hook."}}
{"actor":{"display_login":"danepowell"}}