I like the idea of making the esi template configurable, I'd personally be in favor of the string 'esi/esi_tag.html' being a configurable setting. Ever since switching to jinja i've been driven slightly crazy by hardcoded template locations. This is inside an actual template tag, so it's probably not going to be used by jinja users any time soon, but another getattr of settings won't break the bank