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.
The attached patch adds an ajax option for each block to allow loading the cached content via ajax instead of esi. I think this is a useful option for blocks that might take longer to render, so when their ttl runs out it isn't blocking the page at the edge.
I also added an admin page so that the default block settings are configurable.
Comment | File | Size | Author |
---|---|---|---|
esi-ajax-option.patch | 5.38 KB | msonnabaum |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedComment #2
mikeytown2 CreditAttribution: mikeytown2 commentedI've committed a heavily modified version of this patch here with full panels support
http://drupalcode.org/sandbox/mikeytown2/1328648.git/commitdiff/afd8f4e5...
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedThis has been fixed in the 2.x branch. If I am mistaken please re-open.