Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Forms can be cached by higher level parts of the render array. We are working on enabling that for a couple forms in #2578855: Form tokens are now rendered lazily, allow forms to opt in to be cacheable. Future versions of 8.x will likely have more form caching, as will custom sites.
When altering forms, cache contexts/tags/max-age must be returned in cases of personalization. This patch adds documentation accordingly.
Comment | File | Size | Author |
---|---|---|---|
#2 | mention_cache-2614310-2.patch | 1.96 KB | moshe weitzman |
Comments
Comment #2
moshe weitzman CreditAttribution: moshe weitzman at Acquia commentedComment #3
Wim LeersLooks great. RC eligible because docs only patch.
Could use a newline in between. Can be fixed on commit.
Comment #5
Wim LeersDocs-only patch; this cannot actually fail unless bot is drunk.
Comment #6
xjmCommitted and pushed to 8.1.x and 8.0.x, thanks!
Added the missing newline on commit: