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
This is essentially the same as #1469362: Page cache never expires if page_cache_without_database is enabled but with a slight twist. Authcache 7.x-2.x does not work properly when page_cache_without_database
is set (i.e. the core page cache interferes with Authcache) and therefore uses its own authcache_builtin_cache_without_database
setting for the same purpose.
Proposed resolution
In order to support Authcache, the fix committed in #1469362 should be extended to cover that use-case also.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#1 | 2361001-fix-page-cache-without-db.patch | 662 bytes | znerol |
Comments
Comment #1
znerol CreditAttribution: znerol commentedInstead of examining
$GLOBALS['conf']['page_cache_without_database']
, let's just test whether the necessary bootstrapping level was reached. This works for the core page cache as well as for Authcache.Comment #2
Jeremy CreditAttribution: Jeremy commentedLooks straightforward; I need to test this and confirm it works as promised and with no penalty, and then would like to include it in the next release.
Comment #3
cthshabel CreditAttribution: cthshabel commentedI will be testing this. I have been facing issues with memcached not clearing when authcache is enabled. I can help in some way testing if you all tell me what to look for?
Comment #5
Jeremy CreditAttribution: Jeremy commentedThanks! I also added a comment explaining why we don't call drupal_get_bootstrap_phase():
http://cgit.drupalcode.org/memcache/commit/?id=a2e9e38