Problem/Motivation

Follow-up to #3561066: Set max-age:0 for authenticated users to exclude Webforms from Dynamic page cache

We need to ensure all the proper cache contexts are set on the form in every situation. This is especially important These means examining all code paths that depend on some external context (user data, query string params, url, etc). It's possible we're missing a bunch and were getting away with it because core was making the entire form uncacheable anyway.

Steps to reproduce

To be determined.

Proposed resolution

Integrate with Dynamic page cache

Remaining tasks

  1. Write a merge request
  2. Review
  3. Commit

User interface changes

None

API changes

To be determined.

Data model changes

To be determined.

Comments

idebr created an issue.