<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[tonegolf71 - Medium]]></title>
        <description><![CDATA[Personal thoughts, ideas and knowledge share from Tony Brown — Mage Titan and Former Space48er. Open for Opportunities. - Medium]]></description>
        <link>https://medium.com/tonegolf71?source=rss----cdb541ab5fd1---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>tonegolf71 - Medium</title>
            <link>https://medium.com/tonegolf71?source=rss----cdb541ab5fd1---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:00:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/tonegolf71" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Available for opportunities]]></title>
            <link>https://medium.com/tonegolf71/available-for-opportunities-ca122dd909f5?source=rss----cdb541ab5fd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/ca122dd909f5</guid>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Tony Brown]]></dc:creator>
            <pubDate>Thu, 25 Jun 2020 11:28:57 GMT</pubDate>
            <atom:updated>2020-06-25T11:28:57.132Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*nutqTzjIuiKWCily6gRhEw.jpeg" /></figure><p>For those that didn’t know, I’ve been on a brief career break since exiting as partner and Technical Director at Space 48 back in March, but now I’m looking for the next challenge!</p><p>I feel very lucky to have played my 10 year part in Space 48’s journey and wish Jon and all the team the best of luck going forward, I’m sure they will continue to “smash it” with the talented and hard working people they have!</p><p>I’m now looking forward to the next chapter and excited about the opportunities out there (despite the weird pandemic world we find ourselves in).</p><p><strong>Please get in touch if you know of any opportunities. </strong>I’m open to contract, permanant or “other” at this time. The team/culture and challenge is what is important to me.</p><p>You can contact me through:</p><ul><li>LinkedIn — <a href="https://www.linkedin.com/in/tony-brown-19628229/">https://www.linkedin.com/in/tony-brown-19628229/</a></li><li>Twitter — <a href="https://twitter.com/tonegolf71">https://twitter.com/tonegolf71</a></li></ul><p><em>A little about me…</em></p><p>I’m passionate about problem solving and creating pragmatic solutions that empower people and teams to succeed. I believe that software solutions need to satisfy a business need but be designed with a clear business case in mind, meaning solutions should not be over-complicated and have maintainability in mind. It is important to fail fast and prove approaches are viable quickly before over investing time.</p><p>Throughout my time at Space 48, I remained hands-on, at times fulfilling responsibilities of both a tech lead and a technical director. I was involved in setting standards, architecture decisions, working with customers, training, R&amp;D, escalation, problem solving and debugging, tech leading projects and mentoring. I evolved and set the developer workflow, worked on complex integrations, also consulting with companies on technical challenges.</p><p>I have been heavily involved in the Magento community, speaking at events and being an advocate of efficient debugging practices and automated testing. Resulting in a Magento Master award in 2017.</p><p>Core Skills:</p><ul><li>Pragmatic coding</li><li>Experience in large scale projects</li><li>APIs and integrations</li><li>Microservice architectures</li><li>Project lifecycle methodologies</li><li>Problem solving</li><li>Debugging</li><li>Training</li><li>Optimising</li></ul><p>The main technologies (but not limited to) that I have worked with:</p><ul><li>PHP</li><li>Magento, Symfony, Laravel</li><li>Javascript</li><li>MySQL, Elastic Search</li><li>RabbitMQ</li><li>Git</li><li>Cloud Platforms; Magento Cloud, AWS, Google Cloud, Digital Ocean</li><li>Docker, Vagrant</li><li>PHP Unit, Codeception</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca122dd909f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonegolf71/available-for-opportunities-ca122dd909f5">Available for opportunities</a> was originally published in <a href="https://medium.com/tonegolf71">tonegolf71</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring your cache effectiveness in Magento 2]]></title>
            <link>https://medium.com/tonegolf71/monitoring-your-cache-effectiveness-in-magento-2-244a79b579a4?source=rss----cdb541ab5fd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/244a79b579a4</guid>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[varnish]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[magento]]></category>
            <dc:creator><![CDATA[Tony Brown]]></dc:creator>
            <pubDate>Thu, 06 Jul 2017 19:12:23 GMT</pubDate>
            <atom:updated>2017-08-17T14:18:15.795Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0_4gm6CFwPd9Q0nutzcQxg.jpeg" /></figure><p>I’ve recently given a talk on the subject of monitoring your Full Page Cache (FPC) effectiveness for Magento 2, and I was lucky to be given the opportunity to share my thoughts on this at <a href="http://www.magetitans.it/">Mage Titans Italy</a> and also at <a href="http://magentolive.com/uk/">Magento Live UK</a>.</p><p>FPC is a layer on top of our site that helps to push performance further. It is not an excuse to mask inefficient code elsewhere in the application. That said, it is an integral part of Magento 2 that should be monitored to ensure it is working effectively and not hurting our potential site performance.</p><blockquote>Full Page Cache (FPC) is not an excuse to have slow PHP / Magento code</blockquote><p>In the talk I provide a top-level overview of how FPC works in Magento 2 and the integral part that Varnish plays in this. How Varnish sits in front of our web server and therefore Magento, and how it effectively acts as a web server receiving all requests for our domain. Varnish is very fast at replying to these requests if it holds a cached copy of the response (a cache “Hit”), if it doesn’t, it passes the request on to the web server (a cache “Miss”) and therefore Magento to generate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*HPTa8Pi1yGcNYkhHna8bfg.png" /></figure><p>I then discuss the minimum information required to be logged from the system that can empower us to analyse the FPC effectiveness, this data stems from a Magento 1 module called <a href="https://github.com/mpchadwick/Mpchadwick_PageCacheHitRate">Mpchadwick_PageCacheHitRate</a> by <a href="https://maxchadwick.xyz/">Max Chadwick</a> that does what we need but for Magento 1.</p><p>Once it is understood what we want from Magento 2, I highlight why we cannot solely use a Magento module as per Magento 1, due to the way caching works with Varnish.</p><h4>So how do we get the data we need?</h4><p>I explore some alternative options along with how we finally achieved similar logging using the varnishncsa command-line tool. This tool will start logging all requests received by a Varnish server in the same way we have an access log for a standard web server. The cool thing is we can specify a custom format and apply filtering to get close to logging the data we need.</p><p>There are two challenges which remain though:</p><ol><li>Varnish is handling all requests to our domain, therefore the log will include data for requests including static assets. I.e CSS, JS and images.</li><li>We want the route of the Magento Controller that is responsible for generating the response to be included, but Varnish has no concept of this.</li></ol><p>The missing piece of the puzzle is to have a simple Magento 2 module in place that adds a custom HTTP header to each response that is returned to Varnish. This header contains the route/controller that is responsible for generating the requested page content. The header can then be used in our custom log format, it can also be used as a filter to ensure the log only contains page requests rather than all requests to Varnish (therefore excluding all static assets such as CSS, JS and images).</p><p>Once you have this log, you can push it into any logging or analysis software that you see fit.</p><p>We are using New Relic Insights, and in the talk I conclude by sharing some graphs of problems we have experienced in the wild, I throw this out to the audience to see if anyone can guess what is causing those problems.</p><p>If you are interested in this topic, please check out the video below from Mage Titans Italy, and maybe pause the video at the right point to see if you can guess the cause of the issues I share?</p><p>Let me know if you have any feedback or questions.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FePrPxveZgLI%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DePrPxveZgLI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FePrPxveZgLI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/80f67d24879cf3956ba72b7a8eca6885/href">https://medium.com/media/80f67d24879cf3956ba72b7a8eca6885/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2Fkey%2FNuQ2xf66pndKTm&amp;url=https%3A%2F%2Fwww.slideshare.net%2FTonyBrown44%2Fmonitoring-your-cache-effectiveness-in-magento-2&amp;image=https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fmagetitans-italy2017-170705134859-thumbnail-4.jpg%3Fcb%3D1499262758&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=slideshare" width="600" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/17df07dedc8e06bf96148382d366f569/href">https://medium.com/media/17df07dedc8e06bf96148382d366f569/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=244a79b579a4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonegolf71/monitoring-your-cache-effectiveness-in-magento-2-244a79b579a4">Monitoring your cache effectiveness in Magento 2</a> was originally published in <a href="https://medium.com/tonegolf71">tonegolf71</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debugging an infinite loop in Magento 1]]></title>
            <link>https://medium.com/tonegolf71/debugging-an-infinite-loop-in-magento-1-1e7f4f0d9700?source=rss----cdb541ab5fd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/1e7f4f0d9700</guid>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Tony Brown]]></dc:creator>
            <pubDate>Thu, 15 Dec 2016 13:46:35 GMT</pubDate>
            <atom:updated>2016-12-15T14:04:07.973Z</atom:updated>
            <content:encoded><![CDATA[<h4>The collectTotals() vortex of doom</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*c9lmDtRxb6BaS9qofvPx5w.jpeg" /></figure><p>Recently, after a release we started to see a problem on a Magento 1 site in New Relic. There were sporadic slow transaction traces which were running for up to 30 seconds being reported.</p><p><strong>This turned out to be one of those issues that we love to hate, an issue that is hard to replicate</strong>.</p><p>What followed was a journey to uncover the cause of these slow transactions and ultimately resolve it.</p><h4>Where to start?</h4><p>How do you debug an issue that you cannot replicate? Well, unfortunately there is no simple answer to that. But ultimately you need to get to the point of being able to replicate the issue in order to be confident with any fix.</p><p>In this case we have New Relic to come to the rescue, not only is New Relic bringing to our attention that there are slow transactions occurring, it will also record a trace of the transaction to aid in debugging. This is a great feature that we have used to identify the source of problems in the past.</p><p>For this issue, the slow traces were being recorded for various different pages, the first we looked at was for the cms/index/index controller (all other related traces were very similar).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*jErDZBkD4pR_szI_dh1omQ.png" /></figure><p>What you can see above is the summary for the transaction trace, this helps to give an overview of the most time intensive elements of the trace, it also includes counts of the number of times certain aspects have been called.</p><p>Upon investigating the traces for this issue, we found that there were a significant number (in the hundreds) of calls to the _assignProducts method of the Mage_Sales_Model_Resource_Quote_Item_Collection class.</p><p>The presence of this class indicated that there must be a quote present (cart/basket) for this request, maybe this issue is effecting everyone who has a quote? Upon testing that… No joy.</p><p>Looking at the number of times that _assignProducts is being called (383 times in this case), maybe it is just people who have a large amount of items in their quote? Upon testing that… No joy.</p><p>Ok, maybe the Trace Details can save the day? This section provides a breakdown of the transaction along with the time each part has taken.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*s5WIh74rlrYLqWp1IQmGgA.png" /></figure><p>Unfortunately, in this case the Trace Details breakdown was not providing helpful information. You could only see that it was executing a significant amount of calls to the _assignProducts method.</p><p>At this point it made sense to look at the code in question to try and understand how this could happen. Using <a href="https://xdebug.org/">Xdebug</a>, we were able to step through the code, but nothing jumped out as to what could cause this. Even with many items in the quote, the method was only called once!?</p><p>How could we capture more information about the state of the application at the point the issue is occurring?</p><h4>Logging to the rescue!</h4><p>We knew that under certain circumstances, the _assignProducts method could get called a significant number of times, so if we added some logic to try and capture when this occurred, we could then understand more about those circumstances and hopefully replicate the issue.</p><p>We could achieve this by maintaining a count of calls to the method and then when the count reached a certain threshold, we could log out some information which would aid in our investigation.</p><p>So we added the following logic to the core code (temporarily I might add) that would use the Magento Registry to keep a count of the _assignProducts calls, when it reached 10, we would log out the users quote ID and also a backtrace of the last 50 lines of execution to better understand the path that Magento had taken.</p><pre>$debugCounter = Mage::registry(&quot;quote_debug&quot;);</pre><pre>if (! $debugCounter) {<br>    Mage::register(&quot;quote_debug&quot;, 1);<br>} else {<br>    $debugCounter++;</pre><pre>    Mage::unregister(&quot;quote_debug&quot;);<br>    Mage::register(&quot;quote_debug&quot;, $debugCounter);<br>}</pre><pre>if ($debugCounter == 10) {<br>    Mage::log($this-&gt;_quote-&gt;getEntityId(), null, &quot;quoteDebug.log&quot;, true);<br>    Mage::log(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 50), null, &quot;quoteDebug.log&quot;, true);<br>}</pre><p>Once we had this code live, we had some information logged within a few minutes.</p><p>Firstly we looked at the trace and it was clear to see we were caught in a loop between observers, but why was this only happening to certain people?</p><p>The clue was seeing the collectTotals method being called on Mage_Sales_Model_Quote in the loop. I’m not going to go in to great detail about this method, you can read more in to that via <a href="http://www.classyllama.com/blog/unravelling-magentos-collecttotals-introduction">Classy Llama’s blog</a>. However, we have seen an issue before around this method that has caused an infinite loop. Due to our logging, we now have the quote ID of the person effected, when we looked at that quote entry in the database, we could see that it had the field trigger_recollect set to “1”.</p><p>On our local environment, we set up our own quote with the same quote items and switched trigger_recollect to “1” and <strong>BOOM, </strong>issue replicated!</p><p>Now for the <em>easier</em> bit… we needed to solve the issue.</p><p>We could now use XDebug to step through the code whilst the problem was occurring and we could see the issue very plainly.</p><p>In summary, having trigger_recollect set to “1” on a quote will cause the collectTotals method to be called on the next request where a quote is displayed. On this site there was an Amasty Promo module installed which was observing the sales_quote_collect_totals_before event, as part of this code it was removing items from the quote and re-adding them. This site also had a custom module that was observing the sales_quote_remove_item event, this code was loading the quote via a model load which was then triggering a collectTotals call and so <strong>the vortex of doom continued</strong>!</p><p>There were 2 things that were fixed off the back of this, firstly the Amasty module was upgraded, this consequently no longer took the approach to remove and re-add items as part of its logic. But we also changed the custom code to no longer load the whole quote, this was because it was an unnecessary overhead as the data required was already loaded and available via the observer Varien_Event_Observer object that was passed in.</p><p>Thankfully, we managed to navigate our way through this particular problem, but issues that occur that cannot be replicated can be a nightmare!</p><p>It is important to try and adopt different strategies and techniques to help focus in on such issues and ultimately replicate them. If you get stuck with such a problem, try to collaborate with someone to get a fresh way of thinking about the situation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e7f4f0d9700" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonegolf71/debugging-an-infinite-loop-in-magento-1-1e7f4f0d9700">Debugging an infinite loop in Magento 1</a> was originally published in <a href="https://medium.com/tonegolf71">tonegolf71</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Optimisation Story]]></title>
            <link>https://medium.com/tonegolf71/an-optimisation-story-40c8f9fa7fb1?source=rss----cdb541ab5fd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/40c8f9fa7fb1</guid>
            <category><![CDATA[mage-titans]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[optimisation]]></category>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[presentations]]></category>
            <dc:creator><![CDATA[Tony Brown]]></dc:creator>
            <pubDate>Fri, 09 Dec 2016 15:19:11 GMT</pubDate>
            <atom:updated>2016-12-10T11:25:54.610Z</atom:updated>
            <content:encoded><![CDATA[<h4>My Talk at Mage Titans Manchester 2016</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iHrD58z3M-i5odTt---uhQ.jpeg" /></figure><p>In November, the <a href="http://www.magetitans.co.uk/">Mage Titan</a>s event was back in Manchester again with a jam packed schedule of talented speakers (old and new) with some fascinating content on the bill. I was privileged to be on stage sharing my experience around FPC (Full Page Caching) and in particular, ensuring it is working efficiently.</p><p>The origins of my talk stemmed from a <a href="https://maxchadwick.xyz/blog/monitoring-magento-fpc-hit-rate">blog post by Max Chadwick</a> and his <a href="https://nomadmage.com/monitoring-improving-full-page-cachehit-rate-enterprise_pagecache/">Nomad Mage talk</a>, Max discusses extensively how FPC works in Magento 1 and several strategies on how to ensure your FPC is working effectively (well worth checking out!). Off the back of Max’s work he released <a href="https://github.com/mpchadwick/Mpchadwick_PageCacheHitRate">a module</a> to monitor and report on the efficiency of the FPC in Magento 1.</p><p>The module reports on how often you are receiving Full Hits, Partial Hits or Misses from the cache. Full Hits being the fastest Magento can return your content as it is <strong>all returned from cache</strong>, Misses being the slowest as Magento has to load all the content. Partial Hits were the interesting one to me, if there are hole punched containers on the page and they do not have cached content available, Magento has more overhead to pull in that content and therefore you will get slower page loads than if everything was cached.</p><p>The diagram below outlines this concept and I go in to further detail in <a href="https://www.youtube.com/watch?v=GLJ85ppV2Hk">my talk</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*r8kjf_WSMvqvO1Vf3iozSw.png" /></figure><p>We used this module in a project of ours and it was clear there were issues around a lack of FPC “Full Hits”. I go on to discuss how we overcame this due to two modules implementing hole punching in an unnecessarily inefficient manner.</p><p>The way those modules had implemented hole punching was a mistake, but I go on to mention the importance of embracing such mistakes, as they are an opportunity to learn. But more importantly, I encourage the sharing of such mistakes, as this can make your team or even the wider community stronger for it!</p><p>FPC is a very powerful feature of both Magento 1 and Magento 2, we need to be careful in our approach and mindful of the impact that implementation decisions could have.</p><p>New features should be planned with FPC in mind, rather than implementing code and then dealing with FPC as an afterthought. Better planning should ensure your FPC stays efficient and your site stays fast!</p><p><a href="http://www.magetitans.co.uk/">Mage Titans</a> Manchester 2016 was a great success and I enjoyed having the opportunity to talk to many interesting people in the community, I hope to meet more of you at future events in 2017!</p><p>Please check out my talk below and let me know if you have any thoughts or feedback.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGLJ85ppV2Hk%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGLJ85ppV2Hk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGLJ85ppV2Hk%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d53d4853177a1cd7feb9f2c043e0377b/href">https://medium.com/media/d53d4853177a1cd7feb9f2c043e0377b/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2Fkey%2FpVbqozQxHLzicK&amp;url=http%3A%2F%2Fwww.slideshare.net%2FTonyBrown44%2Fan-optimisation-story&amp;image=http%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fmagetitans2016-161113195700-thumbnail-4.jpg%3Fcb%3D1479067692&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=slideshare" width="600" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/85e2e82299d53c51c2a9ade5bf918ef3/href">https://medium.com/media/85e2e82299d53c51c2a9ade5bf918ef3/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40c8f9fa7fb1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonegolf71/an-optimisation-story-40c8f9fa7fb1">An Optimisation Story</a> was originally published in <a href="https://medium.com/tonegolf71">tonegolf71</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magento 2 and avoiding the rabbit hole]]></title>
            <link>https://medium.com/tonegolf71/magento-2-and-avoiding-the-rabbit-hole-afdeb6e74b4e?source=rss----cdb541ab5fd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/afdeb6e74b4e</guid>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[pomodoro-technique]]></category>
            <category><![CDATA[varnish]]></category>
            <dc:creator><![CDATA[Tony Brown]]></dc:creator>
            <pubDate>Fri, 09 Dec 2016 15:18:14 GMT</pubDate>
            <atom:updated>2016-12-10T11:26:13.673Z</atom:updated>
            <content:encoded><![CDATA[<h4>My Talk at Mage Titans Italia 2016</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_-0Ii7K2L_h1B8_9hSP9Zw.jpeg" /></figure><p>Earlier this year, <a href="http://www.magetitans.it/">Mage Titans</a> strode in to Europe via Milan, Italy. <a href="https://twitter.com/aleron75">Alessandro Ronchi</a> and the team at Bitbull did a fantastic job of putting the event together. Their hard work and the quality of speakers, along with the enthusiasm amongst attendees, made Mage Titans Milan a great success. I was lucky enough to be one of the speakers on stage discussing my experience around debugging a problem in Magento 2.</p><p><strong>Specifically, I wanted to share the benefits I had experienced with using the Pomodoro Technique when in debugging situations.</strong></p><p>The problem itself was related to having the whole site served over HTTPS and the fact that the navigation menu disappeared when using Varnish for the FPC (Full Page Cache), I used the Pomodoro Technique to help focus my approach and minimise any time wasted by going down the wrong path.</p><p>What resulted was a journey to understand how FPC and Varnish worked in Magento 2, in particular how the navigation menu relies on ESI (Edge Side Includes) to render its content. This then continued to uncover that the ESI links were absolute and that Varnish by default would ignore HTTPS requests. A Varnish configuration change can change this behaviour and fix the issue.</p><p>Please check out my talk below and let me know if you have any thoughts or feedback.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUP-tOOYjVYg%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUP-tOOYjVYg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUP-tOOYjVYg%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/170ee67bdd3d9f180e7b9dd6c004ce4f/href">https://medium.com/media/170ee67bdd3d9f180e7b9dd6c004ce4f/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2Fkey%2FNS5BUFG8GJbCEy&amp;url=http%3A%2F%2Fwww.slideshare.net%2FTonyBrown44%2Fmagento-2-and-avoiding-the-rabbit-hole&amp;image=http%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fmagetitansit2016-160207103212-thumbnail-4.jpg%3Fcb%3D1454841427&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=slideshare" width="600" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/ccbe1e70ece4e5c48385f52e490e1c0e/href">https://medium.com/media/ccbe1e70ece4e5c48385f52e490e1c0e/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afdeb6e74b4e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonegolf71/magento-2-and-avoiding-the-rabbit-hole-afdeb6e74b4e">Magento 2 and avoiding the rabbit hole</a> was originally published in <a href="https://medium.com/tonegolf71">tonegolf71</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>