public function output()
{
@trigger_error('Using Template::output() has been deprecated and will no longer work in Contao 5.0. Use Template::getResponse() instead.', E_USER_DEPRECATED);
$this->compile();
header('Vary: User-Agent', false);
header('Content-Type: ' . $this->strContentType . '; charset=' . \Config::get('characterSet'));
echo $this->strBuffer;
// Flush the output buffers (see #6962)
$this->flushAllData();
}