The module worked great. Then I saw that my varnish's cache didn't get hit because of sessions created for anonymous users. I installed and enabled ESI (Edge Side Includes integration - https://drupal.org/project/esi ) and now the region of the Slidebox is blank. When I look into the output html code, I find the ESI url to append to the html and clicking on the url shows me the content it should display in the Slidebox region. So somehow the content set aside by ESI is not beig dispalyed in the Slidebox.

CommentFileSizeAuthor
#4 working-varnish.vcl_.txt7 KBAnonymous (not verified)

Comments

Anonymous’s picture

Do you have the necessary Varnish configuration in place (http://drupalcode.org/project/esi.git/blob_plain/refs/heads/7.x-3.x:/doc...)?

Anonymous’s picture

Version: 7.x-1.6 » 7.x-2.x-dev
rvb’s picture

hi Brian, my host providerd did setup the vcl file correctly.
The url that ESI provides works and the content on that url is visible when I go directly to that esi url, is't just that for some reason the content of the url is not being included on the cached page.

Anonymous’s picture

Category: Bug report » Support request
StatusFileSize
new7 KB

I'm going to move this to a support request because it does appear to be working. I've also attached my Varnish configuration for reference. (Edit: I did change the internal address in the acl block.)

Do you have the ability to look at varnishlog? You should be able to see something like the following:

   11 VCL_call     c recv lookup
   11 VCL_call     c hash
   11 Hash         c /esi/block/vmdoh_restart%3Aslidebox%3Aviews%3Aslidebox_previous_article-block/bm9kZS8yNDk%3D
   11 Hash         c www.vmdoh.com
   11 VCL_return   c hash

I'm running Varnish 3 and ESI 7.x-3.0-alpha1. When I set beresp.do_esi to false or comment it out, I get the esi:include tag as expected. I'm also running a derivative of this Nginx configuration.

rvb’s picture

This is a non-issue.
It works fine now with ESI.

Anonymous’s picture

Status: Active » Fixed

Good to hear! I'll go ahead and mark it as fixed.

Status: Fixed » Closed (fixed)

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