I have come across an issue where if I configure a form on a page.
How renderings are nested:
- Column Splitter (main)
- Container (/main/container-9/column-2-7)
- Sitecore Form Wrapper (/main/container-9/column-2-7/container-10)
- MVC Form (/main/container-9/column-2-7/container-10/sitecoreFormsWrapper-5)
Caching is enabled on the Site as follows
- Row Splitter
- Column Splitter
- Container
Settings checked:
- Cacheable
- Vary By Parm
- Vary By Data
- Vary By URL (custom vary by)
The form is getting HTML cached by the Container / Col Splitter and not applying Donut Caching. I can verify easily as the form __RequestVerificationToken is not getting updated when reloading the page. Weird thing is that it seems to happen only after a while - publish will fix it and then after some time it will become cached again. Am I misunderstanding that Donut Caching should work with this? SXA 10.0.