Magento 2 has brought the Magento community up to date with modern best practices and technology, which consequently means a learning curve, even for people who are very experienced with Magento 1. In this talk I will walk through some of my experiences so far in working with Magento 2, specifically focussed on the debugging side and how I use the pomodoro technique to avoid getting stuck down the rabbit hole.
5. @TONEGOLF71
@SPACE48ERS
#MAGETITANSIT
Magento 1 to Magento 2
Architecture changes
Makes it easier to write tests
More isolation of code
More component friendly
Mechanisms for more targeted changes
Test coverage
14. @TONEGOLF71
@SPACE48ERS
#MAGETITANSIT
Research for M2 FPC
Magento Stackexchange
Same problem, but no answers! http://goo.gl/xK7VQi
Alan Kent article
http://devdocs.magento.com
Other blog posts inc. Alan Storm: http://goo.gl/o4Z107
16. @TONEGOLF71
@SPACE48ERS
#MAGETITANSIT
FPC with Varnish
Varnish holds content responses for URL requests
Magento decides if a page should be cached or not
Ajax is used for private data
ESI is used for 鍖ner control of public cache
35. @TONEGOLF71
@SPACE48ERS
#MAGETITANSIT
Debugging Steps
Search for the error
An old Varnish ticket was found:
By default ignore an <esi:include> with src=/TonyBrown44/magento-2-and-avoiding-the-rabbit-hole/" https://.../TonyBrown44/magento-2-and-avoiding-the-rabbit-hole/"
Feature +esi_ignore_https treats it as http://... instead.