Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If session.cookie_lifetime
is zero, then some fragments will be delivered with a Cache-Control: no-cache
header. This affects, e.g., form tokens and tabs/local-actions.
Proposed resolution
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2357127-cache-control-on-zero-session-cookie-lifetime-2.diff | 8.66 KB | znerol |
#2 | interdiff.txt | 9.09 KB | znerol |
#1 | 2357127-cache-control-on-zero-session-cookie-lifetime.diff | 5.41 KB | znerol |
Comments
Comment #1
znerol CreditAttribution: znerol commentedComment #2
znerol CreditAttribution: znerol commentedLet's not introduce a new variable but just stick with the default in menu. In form, reuse
authcache_form_cache_lifespan
and also use the proper widget in the configuration interface.Comment #4
znerol CreditAttribution: znerol commented