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.

Files: 
CommentFileSizeAuthor
esi-ajax-option.patch5.38 KBmsonnabaum

Comments

Status:Active» Needs review

I've committed a heavily modified version of this patch here with full panels support
http://drupalcode.org/sandbox/mikeytown2/1328648.git/commitdiff/afd8f4e5...

Version:6.x-1.0-beta1» 6.x-2.x-dev
Status:Needs review» Fixed

This has been fixed in the 2.x branch. If I am mistaken please re-open.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.