By jonathanshaw on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.1.x
Introduced in version:
11.1.0
Issue links:
Description:
Forms can now be made cacheable via Drupal's render cache API. Specifying any non-zero value for $form['#cache']['max-age'] will opt in to render caching.
Previously forms would always be excluded from render caching under any circumstances.
In future versions, we intend to remove this requirement and move towards making forms cacheable by default.
Impacts:
Module developers