We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

form:submission & cache

Jens Tangermann October 15, 2020 by Jens Tangermann

Is there a way to disable caching of a confirm page or parts of the page?

When you submit a form and use the form:submission tag you can access the form data that was submitted. For example to display a "thank you" message including the name of the corresponding form field. this works fine.

The Problem is that the confirm page is cached and always displays the name of the first submission. I have tried to disable caching for this part of the confirm page template with {{ cache for="0" }} but that doesn't seem to work. Is there another way or some hint how to fix this caching problem?


>>>>>>> Unanswered <<<<<<<
5 Replies