Blitz Cache dynamic button
Check out &quot;Dynamic Content&quot; in the &quot;Advanced Usage&quot; section of the Blitz docs:
https://putyourlightson.com/plugins/blitz#dynamic-content
Thus can be done with:
{{ craft.blitz.getTemplate('/template/name', { elementId: entry.id }) }}