Twig file only read in development mode

by Battle Mage   Last Updated December 06, 2018 15:07 PM

It appears as though the site will only use a new twig file when in development mode, but not in normal production mode.

This is 8.6.3 multi-site set up.

Things I have tried:

  • clearing cache from the admin control panel
  • truncating cache tables
  • deleting /sites/site.com/files/php/twig/*
  • running update.php

When caching is enabled, this is the last twig file that gets loaded:

<!-- BEGIN OUTPUT from 'themes/themename/templates/region/region.html.twig' -->

When caching is disabled, all the other twig files are loaded as expected.

Tags : theming


Related Questions


Updated March 26, 2015 10:02 AM

Updated March 29, 2015 12:02 PM

Updated March 29, 2015 15:02 PM

Updated April 05, 2015 16:03 PM

Updated April 09, 2015 22:03 PM