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.

esi-ajax-option.patch5.38 KBmsonnabaum


mikeytown2’s picture

Status:Active» Needs review
mikeytown2’s picture

I've committed a heavily modified version of this patch here with full panels support

mikeytown2’s picture

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.