The following example shows how to refresh the CSRF token and other parts of Freeform when using Twig Caching on a template that contains a form.
In order to view this page live, you'll need to make some adjustments to this template or your test form:
freeformTwigCache
or adjust the form handle name inside this template to match your test form.