Drupal does cache Twig templates. Normally, it is a good thing, as long as you don't have a multilingual site.
In my case every
t()is not working as the template is cached in the wrong in English, giving German no chance to ever be outputted.
Is this the proper way to deal with
$settings['cache']['bins']['render'] = 'cache.backend.null'; $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
It seems a bit wrong. As I understand these settings are more for the development process, not for production. Also there really should be a setting to use caching in a language specific way.