flush
Found a typo or an error? Want to improve this document? Edit it.
Need support or have a technical question? Post to the user mailing-list.
New in version 1.5: The flush tag was added in Twig 1.5.
The flush tag tells Twig to flush the output buffer:
1
{% flush %}
Note
Internally, Twig uses the PHP flush function.