I am glad to see this module is alive and well. What are the prospects for a D7 version?

I have tried the alternative ESI API, but did not have luck with it, as it was not compatible with my site, for reasons which are not yet resolved.

Comments

mikeytown2’s picture

bibo’s picture

I am glad to see this module is alive and well. What are the prospects for a D7 version?

Seconded! I'm especially glad that mikeytown2 was the one to push this further. I'm also looking for the best D7 solution.

I have tried the alternative ESI API, but did not have luck with it, as it was not compatible with my site, for reasons which are not yet resolved.

esi_api is currently installed on 5 sites and hasn't been updated in 10months. It did look promising a year ago, but now that I saw mikeytown2 get involved in this esi - module, I know which one to follow.

Note: D7 code to study http://drupal.org/sandbox/casey/1403456

Sounds very promising. I will try to look at this asap :)

bibo’s picture

Could anyone tell me who is currently currently working on esi + D7 ? I know of:
edge_side D7 port of this module, created a week ago. Apparently no progress? I wouldn't count on this, at least not yet.
esi_api independend version by pounard. No progress in 10months, only a few sites using it :(

Then this current (esi) module, which is apparently being saved by mikeytown2. Anything else?

Quoting manarth from another issue (1. November 2011):

ESI 1.x has a number of design limitations - I've got a plan for a 7.x-2.x architecture (and some WIP code) which helps solve some of the issues and take ESI beyond just blocks.

I'm expecting to have more time to devote to this in around 4 weeks time.

mikeytown2’s picture

John_B’s picture

I just tried it. Most of my blocks disappeared. The same problem as I had with esi_api (also on an Adaptive Theme). The server has this module's suggested Varnish 2.1 .vcl and the module is working fine on a D6 site on the same server.

skottler’s picture

Status: Active » Needs work

I am working off of a new sandbox - http://drupal.org/sandbox/skottler/1417038.

There is a bug right now where blocks disappear when the module is enabled. I have debugged the issue and I'm working on finishing up the port. It was relatively painless.

I am willing to maintain the 7.x branch after I complete the initial release.

mikeytown2’s picture

Note: Other code to look at - http://drupal.org/project/redis_ssi

mikeytown2’s picture

kristofvanroy’s picture

Working ESI support for D7 can also be found in this module:

http://drupal.org/project/steroids

John_B’s picture

This is maybe the wrong place to say so, but FWIW Steroids did not work for me, possibly becuase it is low on documentation and I did something wrong. In any event, it failed to connect to Varnish backend (an Apache server on the same box, with a non-standard port), and blocks were rendered with titles but no content, just the words 'This is an ESI block placeholder.'

manarth’s picture

Version: 7.x-3.x-dev » 6.x-2.x-dev
Status: Fixed » Needs work

I wouldn't want to claim the 7.x-3.x sandbox - (sandbox now removed and merged with ESI module) - is done/ready yet, but it's in good shape and could use testing/feedback. I'm hoping for some code-review at Drupalcon Denver where we can polish it and maybe get an alpha-release out (fingers crossed!)

manarth’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev
Status: Needs work » Fixed

The sandbox code is now merged, so you can use it directly from Git: git clone --branch 7.x-3.x manarth@git.drupal.org:project/esi.git, and the release-runner should be adding a dev release soon.

We'll try to get an alpha-release out by the end of the week.

mikeytown2’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev
Status: Needs work » Fixed

Nice! Question is did you even sleep last night? You guys were at the party pretty late

bibo’s picture

@manarth Awesome!

Too bad I'm just in the final stages of a D7 site for which I had to built custom esi support. My next project will most likely include esi-7.3-x. Waiting for the official dev/alpha and so so :)

Status: Fixed » Closed (fixed)

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

larskleiner’s picture

Status: Closed (fixed) » Active

Re-opening this issue as the D7 version doesn't seem to be as feature complete as the D6 version.

- The Varnish VCL files included in the D6 version (in the docs directory) are missing in the D7 version. Is there a reason for this? It seems like the VCLs do apply to the D7 version as much as to the D6 version.

- In Panels, the "Override cache context" settings don't seem to work. It would be great to be able to to configure ESI caching for a Panels pane on a per-role and per-user basis.

- Is there a good reason for not including the Ajax render mode into the ESI version 7 module?

We are evaluating this module for a project at the moment and might put in some of the bits we are missing, just thought I ask before we go ahead.

manarth’s picture

Status: Active » Fixed

We've addressed most of these now:

  • Docs (for Varnish 3) have been added to the 7.x-3.x branch.
  • The AJAX-render mode has been added to 7.x-3.x. It's not a direct port, but a ground-up rebuild that leverages the jQuery ESI library and allows standard ESI tags to be used.
  • The Override cache context for panels doesn't yet work fully, but we're looking at different ways of doing that, to include overrides specific to various ESI custom contexts, and also the context from panels.

If anything else is missing, please open new tickets for each specific feature/bug.

Status: Fixed » Closed (fixed)

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