Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 313996

Ensure forms are marked max-age=0, but have a way to opt-in to being cacheable

$
0
0

Problem/Motivation

Forms are an important part of Drupal, but currently they are uncacheable (CSRF tokens, parameters can come from anywhere), but not marked as such.

Also there is no way to opt-in for a form to be render cached explicitly.

Proposed resolution

- Ensure forms are not cached by default as they can vary on things.
- Ensure forms that specify how they can be cached (and that maybe don't need CSRF) are cacheable.

Remaining tasks

- Discuss
- Do it

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 313996

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>