Open guidtz opened 9 years ago
Please try "esi_syntax=0x3".
Yes I have it in varnish startup options : Varnish Daemon options : DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \ -f ${VARNISH_VCL_CONF} \ -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \ -t ${VARNISH_TTL} \ -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \ -s ${VARNISH_STORAGE} \ -p esi_syntax=0x03 -p shm_reclen=4096"
ps : /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/default.vcl -T 127.0.0.1:6082 -t 120 -w 5,1000,120 -s malloc,1G -p esi_syntax=0x03 -p shm_reclen=4096
"0x3" not "0x03".
Sorry but I have the same error with 0x3 :-(
Are you using the latest VCL? Normally this ESI tag should be replaced. Does it work for your "add to cart" links?
I installed the version with magento connect. Yes the add to cart link works.
Again! This is the same problem as Issue #17 all you need to do is adjust the quotation marks in Esi.php Btw, Issue #17 suggests the fix for you with a pull request.
Hello,
i have a problem with PageCache with "Add to whishlist" link. Linkls are like that :
http://site.domain.com/wishlist/index/add/product/1081/form_key/%3Cesi:include%20src=%22http://site.domain.com/varnishcache/getformkey/index/_nosid/1/?SID=tg0u8h8e058ksal9u52tnc3eh1%22%20/%3E/
And when I clic on link I have the whishlist page I have a page with that :
%3Cesi%3Ainclude%20src%3D%22http%3A//site.domain.com/varnishcache/getformkey/index/_nosid/1/%3FSID%3Dtg0u8h8e058ksal9u52tnc3eh1%22%20/%3E
Technical informations: Magento CE : 1.8.00 Varnish 3.0.6
Varnish Daemon options : DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \ -f ${VARNISH_VCL_CONF} \ -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \ -t ${VARNISH_TTL} \ -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \ -s ${VARNISH_STORAGE} \ -p esi_syntax=0x03 -p shm_reclen=4096"
Thanks for your help
Sincerely Guidtz