Latest / Inside Commerce: Ecommerce Strategy, CX and Technology Podcast / Episode 12: Web Performance Optimisation with Stuart McMillan
Transcript
- 0:06Good afternoon, everyone, and thanks for tuning in.
- 0:07Again, to the, what is now? The 12th episode of the
- 0:10re-platform podcast. It's, as always myself, James
- 0:13scared and I'm joined by my co-host.
- 0:15Paul Rodgers, hype, Ojeda Ma. I'm very well.
- 0:18How are you? Yeah.
- 0:19Well, good part from spending half my time, cleaning up puppy.
- 0:23We every morning, which is an exciting thing to do these days,
- 0:26but it's, I'm looking forward to cracking on this episode.
- 0:29So, Just a quick bit position, then we'll get our expert guest
- 0:34contributor to introduce himself.
- 0:36So we're talking about site performance, site speed and what
- 0:40impact this has, and why businesses need to take it?
- 0:43Seriously, I think this is such a critical topic for anybody
- 0:45regardless of what platform you're using.
- 0:47All their considering go and say because getting the user
- 0:50experience Wrong by setting up the site so that it is actually
- 0:53slow and hard to use and doesn't load properly.
- 0:56When you're on weaker connections, is going to have a
- 0:59fun Mental Lee negative impact to the business.
- 1:02Both in terms of like conversion loss per.
- 1:04Also, wider impact of things like visibility in search
- 1:08because we know that pagespeed is a core factoring in
- 1:12algorithms these days. So it's such a critical topic.
- 1:16I've got some experience of site optimization as before house but
- 1:20we're delighted to welcome some of these.
- 1:23Got a lot more detailed Knowledge from the coal face of
- 1:25having done this from a Heavy Commerce point of view.
- 1:31So like to introduce Stuart McMillen.
- 1:34So Stuart, how are you doing sir?
- 1:37Hey, James I'm doing very well. I'm hi Paul and how everyone
- 1:40else. So, yeah, I'm Stuart McMillen
- 1:43head of multi-channel Title Group.
- 1:46We're a Scottish retailer of Outdoor Clothing equipment,
- 1:50including bikes, and ski wear as well as general.
- 1:54Walking, hiking climbing things that not run majority-owned by
- 1:59GGC. Sports are lovely, big brother
- 2:01looks after us. Well, prior to tighter Group,
- 2:06which I joined in August. Last year, I worked for seven
- 2:09years at Shoe has paid of e-commerce optimization before
- 2:15that. I worked for a couple of years
- 2:17for All Saints. So overall, be more concerned
- 2:21client side for about 10 years before that, or what's in a
- 2:24digital agency, is a senior developer, Excellent.
- 2:27Thanks that intro. I'm really Keen to to explore
- 2:32this topic with you today because I know over the past
- 2:34years, I've always tapped you up shamelessly when I wanted some
- 2:37insights and knowledge. From a technical point of view
- 2:39around site optimization, because I think it's fair to say
- 2:42that it's not just me who would say this that you're considered
- 2:45quite a topic expert in the industry and I know you've
- 2:48presented at a lot of conferences and events on this
- 2:51topic. So we're going to drain you of
- 2:53your knowledge. If that's all right well it's
- 2:56good that I've still got some I'm left after two children and
- 2:59depleted, Nate sleep. That I feel I do have a little
- 3:03bit less gray matter than and perhaps one.
- 3:05Stood, well, the good news is because you're now doing your
- 3:08cycling to and from work. If we exhaust you too much your
- 3:10wake up on the ride home. Yeah.
- 3:12Absolutely. We'll see how we get on.
- 3:15Yeah, exactly. Okay.
- 3:17So, let's, let's start at the beginning and go forward.
- 3:19So let's start with a simple. Okay, a simple question big
- 3:23fundamental question which is Why is pagespeed important but
- 3:27does pagespeed genuinely impact conversion rate in revenue from
- 3:31your experience? And if so, why does it do that?
- 3:34Yes, it does. I guess.
- 3:36Next question. No.
- 3:36So it does impact certain a couple ways so I guess if
- 3:43you're, if you're say is really slow.
- 3:44It's going to have a clear impact on your conversion rate.
- 3:47People are just not going to the busy going to click off your
- 3:51site. But then I just think it's
- 3:54quicker than The rather negative impacts that are still apparent,
- 3:57even though your site is, may be relatively quick and I'm talking
- 4:00around see 5 seconds or so that people's attention starts to
- 4:05sort of drift off and they aren't continuing with their
- 4:08Journeys as much. The queerest thing, I quickest
- 4:12relationship I have seen between site speed and some sort of
- 4:17business metric is actually around bone straight where I
- 4:20There is almost a linear relationship between a page load
- 4:25time and Bone traits or just slow your pages.
- 4:29The more likely people are to weave and not first page, but
- 4:35there is a relationship between conversion rate, but of course,
- 4:37there are many factors in its conversion rate path.
- 4:40So it's not quite as clear cut as that, but yeah.
- 4:44And so it comes down to people just been annoyed enough about
- 4:48your safe to leave or people just have introduced attention
- 4:51enough that they're not completely re comments Journey.
- 4:54Yeah, I'm glad because you From the whole user experience in
- 4:56because sometimes people focus first on SEO and Rankin.
- 5:00Think well, it's all about getting visible when and at the
- 5:03top of Google. But fundamentally the user
- 5:05experience, peace is the most important.
- 5:08The for me, the visibility in search orokin is a secondary
- 5:11benefit of doing things the right way.
- 5:13And I'm glad you pulled out bounce rate because I've been in
- 5:16so many conversations, where people say, bounce rate is a
- 5:18nonsense metric but it's only nonsense.
- 5:19If you don't use it in the right context, so that's a good one.
- 5:22You explain to people that if you'll see In bounce rate as a
- 5:27land from a landing page point of view going up.
- 5:29Exponentially as pagespeed is getting worse and that's a good
- 5:32indication that it's not helping you cool.
- 5:36I know you had some other another question related to
- 5:39this. Yeah, absolutely.
- 5:41So I wanted to ask giving me work the number of bigger
- 5:45retailers and I would imagine quite a lot of work has gone
- 5:49into some of these projects to improve pagespeed.
- 5:52How have you gone about trying to get buy-in from?
- 5:55Different stakeholders. I've you forecasted Revenue
- 5:58benefits from these kind of projects or initiatives.
- 6:01Yeah, however, you kind of got people bought it.
- 6:06Well, one of the more interest and little projects are set
- 6:10myself. Was I basically crunched good
- 6:14few million sessions. What did was, I chose a specific
- 6:20metric. Page load speed metric, which I
- 6:22think we'll probably get onto in a little while, but We're chose
- 6:25a specific metric and pocketed sessions by either the page load
- 6:31time and then looked at the conversion rate of those buckets
- 6:35and then graph that over. And I could they ensure that
- 6:37there was, you know, what the relationship was between page
- 6:42load time. And could then say, well if page
- 6:44load time was increased in, this amount conversion rate should
- 6:47increase the this amount, therefore, this would be the
- 6:50sort of Revenue impact and that was just done through clay.
- 6:55Action through Google analytics and then crunch the data in
- 7:00bigquery other analytics, vendors are available.
- 7:04And did you find that? People were generally quite
- 7:06receptive to that from the star, or I mean, particularly a few
- 7:09years ago when performance optimization wasn't quite as
- 7:14high, a priority list, as it is today, or did you find that you
- 7:18really had to kind of justify it?
- 7:20And then once you Justified it on a couple of projects people
- 7:23are more bought it? I think it's probably worth
- 7:27giving why don't you trade it to shoes and organization the
- 7:32across the board? They really value the customer
- 7:35experience and an efficient customer experience.
- 7:38For example, in stores, they'll sort of work out how long it
- 7:41takes to make a transaction and what could be done to make the
- 7:44users experience. Just good in stores to the
- 7:47result. So a lingua, Franca around the
- 7:49ease of a customer Journey. So I think the Was I kind of
- 7:55opened or it shoe around just making that the pages easier.
- 8:00So I think, you know, old do credit to shoe that was, you
- 8:04know, whale because into their DNA before I got there and and
- 8:08still continues to be so. So I think perhaps that the big
- 8:13message there is finding the language that works for your
- 8:16particular organization and because page load speed is just
- 8:20one facet of user experience. And but it's important.
- 8:24And to recognize that it is a facet user experience, and I
- 8:27think people can kind of understand that benefit, but
- 8:31these days, there are more tools available from a number of
- 8:35different vendors. I mean, there's free ones from
- 8:37Google and the internet where you can do sort of what-if
- 8:40analysis around, if your page was excellent faster, this what
- 8:44it might be, That's really interesting.
- 8:56Thanks that. And and then another one.
- 8:59So, how did how do you generally measure page Speed and
- 9:03Performance? At what metrics would you look
- 9:05at? Are there any tools that you
- 9:07recommend over others, too? So please Lord Matrix is as got,
- 9:15our can do long and varied history.
- 9:17So it may be worth just taking a minute to just to kind of go
- 9:20over that history that initially it was all about survival.
- 9:24Response times that performance was a back-end issue that server
- 9:31Technologies was flawed, there weren't as many optimizations
- 9:35done in the backend through platforms.
- 9:38So, a lot of the The Matrix were just how quickly does the HTML
- 9:41respond. Then we moved into things like
- 9:45page load time where there's where the onload event and the
- 9:50the page fired and that was when all the sort of critical assets
- 9:54were were loaded in and the page was effectively complete, shall
- 9:58we see? And that was the kind of
- 10:03Standard wins. The gold standard was set a
- 10:05standard for a long time. And then the move in the past
- 10:09few years has been too much, much more sort of use of centric
- 10:13measurements. So things like time to First
- 10:16interactive, so where the user can actually start using the
- 10:21site so JavaScript, not blocking things and thus it is is
- 10:25interactive or time to First content for pain.
- 10:30So, when you start to see something, A significant painted
- 10:34to the screen or indeed, something like Gaia first hero
- 10:37paint, where you've identified, what is the most vital content
- 10:41and the page? And when is that actually shown
- 10:43to the page. So but then all that aside, the
- 10:49best metric is the metric that you have most closely can most
- 10:54closely relate to a business metric.
- 10:56So I don't think there is a one gold standard metric.
- 11:00There is a gold standard metric for Every company and so custom
- 11:04use of time and events are the place to go for Matrix.
- 11:09These days for many companies that will probably end up being
- 11:12something like this or first sort of major paint and roll
- 11:16your major. Sorry, hero content is shown in
- 11:18the screen, but it's about measuring lots of things.
- 11:22And they're looking at where you've got a strong correlation
- 11:24between that measurement time. And then the some sort of
- 11:29business metrics or conversion rate or Revenue.
- 11:32Or boundary Revenue procession or whatever you wherever you can
- 11:35really find a relationship of interest to be useful for
- 11:41non-technical listeners, to kind of clarify about how you
- 11:45actually measures because I think like server response time
- 11:48and full page load speed is it's easier to get your head around
- 11:51then time to interactive time to meaningful content and I know
- 11:56that there are technical ways where you can basically for want
- 11:59of a better language like for an event.
- 12:02She so that you can measure when that part of the page load as
- 12:05happens and then track the time against it she'll do collaborate
- 12:09on that. How does it work in practice?
- 12:10How would you accurately track those particular metrics?
- 12:14Sure. So fortunately these days in lot
- 12:16of browsers you have one of the vents are built in in the in the
- 12:23sort of apis in the browser so you can get access the one that
- 12:27in one of the big issues of that is that Safari and Morton iOS
- 12:31doesn't support. Bought a lot of these events.
- 12:33So a law to UK companies will have a significant iPhone
- 12:40audience and so you will struggle to get those time in
- 12:43metrics out of them but you know, never fear there are other
- 12:49Solutions. So as I say there are probably
- 12:53the one of them with the first ports of call that you would
- 12:56look at would be your so, I mean, images on site.
- 13:00So let's take four. Example your home page, you
- 13:03might have your your local, you might have three or four banners
- 13:08not page. There might be three of those
- 13:10above the fold. You might then have some other
- 13:15little sprite and things like that, but probably the
- 13:18rate-determining steps are things.
- 13:19Like, it's your local loaded. And then are these big binary
- 13:22images loaded because they're probably the binary images are
- 13:27probably the most KB. They may be loaded by some sort
- 13:31of JavaScript technology, and maybe we'll go and talk to my
- 13:34zation and talk about that, but they're probably a rate
- 13:38determining step for that above-the-fold content been
- 13:41displayed. So, for any image loading, you
- 13:45can then attach an event for that and the onload event.
- 13:49You can then just in fairly simple, JavaScript just record
- 13:52the sort of start time of the page and when these images
- 13:55loaded and then whatever whichever was the slowest
- 13:58loaded, their record that as your sort of fuel load.
- 14:02Time. And then you can send out off to
- 14:06Google analytics using one of the custom Taemin events.
- 14:11So Google analytics within the sort of pagespeed Matrix that
- 14:15has that are a number of custom time in events that are just
- 14:18empty boxes for you to throw some data into and you're good
- 14:22to go. And it really is not an
- 14:23expensive or really particularly difficult thing to do.
- 14:28I would say Yeah, I think this is the key thing is comes back
- 14:33to your earlier point about finding the metric that makes
- 14:36sense in the context of your business and what's important.
- 14:38And what drives value and measure it consistently because
- 14:41often often people think struggle to decide the metrics
- 14:44because there are so many available and that leads me on
- 14:47to the next question, which is what is a sensible way for an
- 14:51e-commerce team to set goals around page speed?
- 14:53Because you see all these benchmarks surgeon.
- 14:54He's got a load within three seconds.
- 14:56It's going to know quick on a mobile.
- 14:59You can Benchmark using free tools against competitors and
- 15:04other leading retail sites and see where you can compare and
- 15:07controls. Is that a sensible way?
- 15:09Or should you purely base page feed goals for your business
- 15:14around your current benchmarks and measuring increments against
- 15:18that? Benchmarking against competitors
- 15:25can be interest and but it's not that actionable and I don't
- 15:29think anyone should build a strategy to see it while want to
- 15:32be faster than competitive rates.
- 15:35You know, it's certainly a previous roles.
- 15:39I've always just try to be faster than we were last week,
- 15:43but in terms of a sensible goal, I think the three-second marks
- 15:48are pretty good. One, Have are the fastest in the
- 15:52industry, which is probably shoe these days is shoe.
- 15:57The shoe site is loading in one second on desktop and on mobile.
- 16:02And there's not really a long tail on there or slower
- 16:05customers to me. That's, that's probably about
- 16:08the gold standard but I would say you should be aiming for
- 16:13around a couple of seconds. However, be aware of averages.
- 16:18The new points in that your average is a Apple s.
- 16:20If you've got, you know, a small group of people who are getting
- 16:23the site hyper-fast and then you've got a long tail of people
- 16:26who are getting the same really slow.
- 16:28And when you look at that actual numbers of people, there are
- 16:31more people getting a slow experience, then a fast one.
- 16:34So beware of the average and really try and bring that long
- 16:38tail down. I think it's a sensible and just
- 16:40try and make the experience great for the biggest number of
- 16:43people, how do you talk about that long term, the context of
- 16:46segments segments in the the data and looking at specific
- 16:48devices browser? Users or connectives connection
- 16:52speeds been where do you typically find that you get that
- 16:55Spike? Well, I mean That's quite tricky
- 17:02question types because very safe dependent.
- 17:05There is, I mean, I don't want to always talk about shoe,
- 17:10because there are many other great examples there, but it's
- 17:12probably one that I'm most familiar with the data.
- 17:15And the shoe site is one second on desktop and one second or
- 17:19more, by also, actually segmenting across devices is not
- 17:22that useful, but looking at your own data, if you discard a, you
- 17:26know, if mobile is slower than your desktop experience, which a
- 17:29know what to say, Sites, it will be then you know, you're going
- 17:34to have to segment by device. The number of Dimensions that,
- 17:39you know, you could have an Android problem.
- 17:41For example, I have seen that in the past where there are scripts
- 17:46that JavaScript that will be slowing down Android devices in
- 17:52a way that iOS will not be slowed down just due to the iOS
- 17:56devices having a bit more horsepower.
- 17:58And I've definitely seen examples about and Seen examples
- 18:01of that. And what to not, where we had to
- 18:04give a different experience to Android / iOS due to a
- 18:09third-party Library, slowing it down so badly and Android that
- 18:13the conversion went like tanked. All right, so, it's hard to say,
- 18:20what is the, right and wrong segmentation.
- 18:22There is just a job to be done of looking at all, your site
- 18:25speed data as a dimension and then applying a lot of different
- 18:28metrics. And just looking at where Where
- 18:31you're starting to see your Peaks and troughs and where, you
- 18:35know, across the different dimensions of operating system
- 18:38or devices or effective connection types of whatever
- 18:41you're getting a problem. But that really is one that you
- 18:44need to do for yourself. I think I think that was a very
- 18:47good explanation actually, I get what you mean.
- 18:49It started specific. But I think that's was trying to
- 18:51tease hours. What are some of the areas where
- 18:54actually from a segmented point of view?
- 18:55Can you can sometimes find anomalies and that one about
- 18:59Android versus iOS is definitely.
- 19:00Interesting one, this leads me on to I think it's going to be
- 19:06another kind of key. Question for listeners is what
- 19:10are the common mistakes that people make?
- 19:11You've worked across different sites, you've looked pagespeed
- 19:16optimization and what's worked, and what hasn't and obviously,
- 19:20you know, lot other people in the industry.
- 19:21So what do you find people commonly do that bloat Pages or
- 19:25slow them down or compromise that, that user experience that
- 19:29leads to a slower page. So I was probably best to focus
- 19:36on mobile here. I would think that for the vast
- 19:39majority of e-commerce websites that these days.
- 19:43There are Mobile Traffic Law account form denim, 7075 percent
- 19:49of traffic. So probably and Mobile's, you
- 19:53know, is arguably more difficult to get, right?
- 19:55So focusing on mobile is probably the Where is the most
- 20:02fruitful area? But the things I have a big
- 20:05impact in Mobile. So mobile is typically bandwidth
- 20:08constrained. So even though over often on 3G
- 20:13or 4G, or or hopefully 5G offer more and spotty connections and
- 20:19instill, the latency, and mobile is still a lot higher than we
- 20:24get on desktop and a hardwired fiber connection.
- 20:27There are just so many more steps in the mobile connection.
- 20:30Experience. So there's things we might not
- 20:34think about but if you're not been using your mobile for a
- 20:36little while and then go to connect to website.
- 20:38The first thing your Mobile's got to do is fire up the radio
- 20:42and connect it to be stationed and just do our.
- 20:44I am here and I think taking things like that.
- 20:46So there's a whole sort of hardware and software layers
- 20:50that you don't get on a desktop same, so that bandwidth and so
- 20:59the KB you're sending down, Wire and mobiles critical, and it
- 21:02sounds so simple. And it's, you know, it's been
- 21:04talked about for a decade know that image size is a major issue
- 21:09and it is, people are still doing one size fits all when we
- 21:13choose and not using modern image formats or indeed modern
- 21:18HTML5 markup like picture or Source set and things like that.
- 21:23And are just basically the government far, too many bites
- 21:26down the wire and Spoon down, what is the valuable content
- 21:30just by Some pig content and there some other big things is
- 21:33so after that, I would say, the probably the biggest issues
- 21:36JavaScript. So these days, many websites
- 21:39rely on JavaScript far, too, heavily through different
- 21:43Frameworks that are being used. Go set a client-side, rendering
- 21:48Frameworks. I think are to be completely
- 21:52avoided. There are many Other other
- 21:58Frameworks that are just trying to do really clever things that
- 22:01are trying to turn the way been two or more stateful environment
- 22:04whereas HP was designed as a stateless protocol.
- 22:08So you know, there are people trying to turn it into more of
- 22:12an application and I think your customers really need just to be
- 22:16clever and too. I don't know, improve the
- 22:19development Point mine, but be detrimental to the user
- 22:22experience and you've got to start with the user experience.
- 22:25So images. JavaScript and then I could go
- 22:29into a bit 50, other different things and in the context of
- 22:33some of those things and what recommendations would you
- 22:36generally make to say any common platform.
- 22:39So there are number of platforms on the market that are
- 22:41associated with poor performance.
- 22:43What do you think that a platform should be doing?
- 22:46Really to kind of optimized forms?
- 22:50Yep. That's pretty simple.
- 22:52Get your HTML rate. Eyebrows are still very much.
- 22:55Depends on each. EML and don't get the browser to
- 22:59construct that it reached email. So, send down the wire the rate
- 23:03structure. We start with the page start
- 23:06with information architecture on a page and it'll be better for
- 23:10SEO accessibility or be better for seat speed, but Neil that is
- 23:15to me or make beautiful HTML is the number one thing that pretty
- 23:20much no e-commerce website does and is the most technically
- 23:25advantageous. Just think that it could do for
- 23:28a number of sort of specialist areas to start with art minimize
- 23:33the amount of JavaScript rely on the browser apis.
- 23:36Don't, I don't I think we need to go over the idea that every
- 23:41user gets the same experience every user should get a good
- 23:44experience but that's not necessarily the same experience
- 23:47although functionality to deprecate use Progressive
- 23:52enhancement. So that and there's a basic
- 23:55experience gets delivered. And then once that's delivered,
- 23:59you know, you can then enhance over the top.
- 24:00But don't let the basic experience, you know some days
- 24:04JavaScript feels don't like the whole site feel starter for ten.
- 24:09So sensible advice, I know that you're a proponent of
- 24:13data-driven decision making in this area.
- 24:15So you let the data and test in validate whether something is
- 24:19working and having an improvement or actually a
- 24:22negative impact on site performance from from your
- 24:25experience. What are the Types of tests that
- 24:27have the biggest impact, is it simply coming back to the three
- 24:31hours? You spoke about ran, like
- 24:32images, JavaScript, Etc, or their other things?
- 24:34Where, where you've tested and seen really good games?
- 24:39Yeah, there are. So if we go back to the Matrix
- 24:44that was talking about around sort of quantify first content
- 24:47for paint and things like that. There are a number of techniques
- 24:52so sin lazy. I'm not lazy loading techniques
- 24:55but sort of Faking it till you make it.
- 24:58So an example that I've worked on in the past was that I Live
- 25:03help provider. I am really, really slow widget.
- 25:05No life help was great for conversion rate, but the widget
- 25:11was really, really slow and we weren't having any Headway and
- 25:14Improvement that. So what we did was we basically
- 25:18had a Mork life, he'll widget on the page and then there are the
- 25:23real one can of loaded behind it.
- 25:26And so, You made the page much more visually complete much much
- 25:30are earlier and the use of wasn't getting a jarring
- 25:32experience and nobody of his clicking on that life help.
- 25:37Sort of facility live chat facility within the first couple
- 25:41seconds in and we saw immediately.
- 25:43No, realistic difference to the user - difference.
- 25:46The user experience user experience of the chart, but
- 25:50massively increased their perception of how quickly the
- 25:54page loaded. So, You know it's perfectly
- 25:57valid to sort of layout the page with empty blocks to see if what
- 26:02sort of layout instabilities. For example, that something that
- 26:05Google allow you to through Google analytics and through, I
- 26:09think Chrome no Harvey way out instability API, where you can
- 26:13then see all the page jumps about a bit so to try and avoid
- 26:16layout and stability. It's fine to kind of have a
- 26:19skeleton of the pages images, Lord, Denning and sort of set
- 26:22dimensions in there and that these sorts of things are
- 26:26Although perceived performance, but can become massive
- 26:29difference to the users. It's a good experience and I'm
- 26:33sort of emotional how they feel about how your site is loading.
- 26:38Yeah, I like the point about, you don't have to remove
- 26:41something, but change the way it's loaded, so that there's a
- 26:44visual clue that it's there, but the functionality can load off
- 26:48to, so it doesn't slow down, the the meaning from content above
- 26:50it. And so that's the night.
- 26:51I guess that's a nice differentiation between those
- 26:54who would Advocate takes. Tough off the page to just
- 26:57reduce the size. If you look at Google photos,
- 27:01you know, they have a just a colored square, if you're in a
- 27:04slow connection, then they're just a colored Square before the
- 27:08photo Lords and it is this, our primary color of the image.
- 27:12And they've just sort of color sample that image and just see
- 27:14how I use a hex code and it just, it just gives you a much
- 27:19more, much more pleasant load experience.
- 27:23You just feel that something's happening.
- 27:25And sometimes, you just need to give her Give the user a hint,
- 27:28that guess the interface is coming.
- 27:31And you know the worst thing is when you just start looking at
- 27:34white screen, God has my connection died as their server
- 27:37died, is what's wrong and does the website exist at all.
- 27:41So just give that you give them a bone through mobile.
- 27:45Yeah, that I think that's quite good way of explaining is that
- 27:48this horrible, as if you sit there and you're thinking, yeah,
- 27:51I did my connection dying. Therefore, it's not the website
- 27:53photo or is the website crap and hasn't understood my request.
- 27:56And where is he? I've died.
- 27:58There's times on mobile or end up closing.
- 28:00My browser reopening it thinking, maybe it was a
- 28:02connection issue. Actually wasn't as the website
- 28:04hanging, which is really irritated and that irritation
- 28:08want to endear you to actually complete in whatever a journey
- 28:11you were doing that website. No, especially given that I have
- 28:14an attention span issue anyway in life, so that makes it even
- 28:17worse. That kind of leads me on to the,
- 28:21the technology landscape because e-commerce is constantly
- 28:25evolving. There's also Lots of acronyms
- 28:27get and phrases, get chucked out, but whether it's pwa
- 28:31headless a MP, a fundamentally will there are technological
- 28:36advances. In terms of the toolkit
- 28:38available, what browsers can do or platforms?
- 28:40Can do what I'm really interested is your Viewpoint at
- 28:43the coal face of managing trade in and optimizing web assizes?
- 28:48What do you think over the last four years is pushing
- 28:50performance for the most and what will continue to benefit
- 28:54people who will want to create fast and And really enjoyable
- 28:57website experiences. Okay?
- 29:00So a bad Peter we good is perhaps my headline here.
- 29:06So I'm a big advocate of progressive web apps.
- 29:10I don't necessarily like the name.
- 29:12I don't think they necessarily need to be given a name, it's
- 29:14just a website. So for me good looks like a well
- 29:21implemented responsive website with layers of progressive.
- 29:26Huntsman and TOEFL, you know more and more advanced browser
- 29:30features. So things like saving your
- 29:34browser, your website as almost like an art on your home screen
- 29:40to see if the home screen or offline functionality, using
- 29:43service workers or browser, Push Messaging.
- 29:48I think all those can be layered in taupe you give there's no
- 29:51detrimental to experience to those who can't get their take
- 29:55and you'll reach them. Really.
- 29:56Really wide audience. So, yeah, that is something to
- 29:59be to be looked at and I think in my mind, they'll be fewer and
- 30:04fewer native apps for e-commerce.
- 30:08Going forward and more and more Progressive way.
- 30:10Now went out. Yeah, I think you're right.
- 30:12I mean, looking at apps tool usage in the number of apps
- 30:15people on average have installed and actively using his dropped
- 30:19off quite a bit. There's some core apps, which
- 30:22seemed to be never going away, but I think you're right from a
- 30:25retail e-commerce. The other thing I'm interested
- 30:28in on this is another irritate Akron SP a single page app so I
- 30:32know a few agencies who decided to build out their Solution on
- 30:36the platform. You can SP a framework because
- 30:40they're able to basically reduce the number of active cervicals
- 30:44by having more of the content information available just to be
- 30:47displayed. When the person is interacting
- 30:50by the browser, have you used as pas of you come across sites,
- 30:54where you think work effectively and them?
- 30:56M, any strong thoughts on that? Yeah, sure.
- 31:00I think it's p is kind work for small sites.
- 31:06I have concerns about them around things like SEO and
- 31:09accessibility and a number of areas like that and also think
- 31:16as your site gets more complicated, then I don't
- 31:19necessarily think there is a massive Advantage.
- 31:23I think as well. The problem they're trying to
- 31:25solve around It's our bikes over the wire, I think can be broadly
- 31:30solved by some good, just good optimization.
- 31:32Can all look at pretty much every website and the HTML is in
- 31:38really bad neck. And, you know, it's just a law
- 31:41to design up. And I think you could probably
- 31:44get a lot of the benefit of an asp, a just by having a bit of a
- 31:48spring clean and you would then, perhaps and reduce some of the
- 31:54risk around. Say, for example, SE Oh, and
- 31:56things that I know. Google allegedly will render
- 32:00your JavaScript and are allegedly getting quicker.
- 32:02But there's still a delay in there and it's still a risk.
- 32:06I wouldn't want to take. I don't.
- 32:08It's just one. I would just take off the take
- 32:11off the table and go. Well what?
- 32:13Why? Rest got?
- 32:14I know Google can understand flat HTML really.
- 32:17Well, let's just go with that. That makes.
- 32:20And I think in the past, I've seen other search engines have
- 32:24issues as well, with JavaScript, which is another one.
- 32:27Obviously Google is getting better, but some of the other
- 32:29ones are still quite behind. So, another question.
- 32:33So, continuing on with mobiles, James mentioned earlier, that
- 32:37you led, a pretty big project for big retailer around making a
- 32:42site responsive and generally optimizing around mobile.
- 32:47One question, I wanted to ask was how you kind of Define In
- 32:50which devices screen resolutions.
- 32:52You are optimizing to and kind of how you set things like
- 32:54breakpoints and generally kind of how you approach that.
- 33:00Yes, it was quite a few years ago now, but you'll be the
- 33:05approach, was to come back to just creating turning off Styles
- 33:11turning off JavaScript and everything like that.
- 33:14Trying to create an HTML page structure.
- 33:17That generally worked across devices that were having to do
- 33:21as little manipulation as possible, but that we started on
- 33:25mobile as being the most correct, Of basically out since
- 33:31our information cause we didn't want mobile to have to do any
- 33:35real competition and rearrangement of the page.
- 33:39Whereas we felt that there was any rearrangement or Dom
- 33:43manipulation or anything like that, to be done, the desktop
- 33:46could well afford to do it and that time, we could also see
- 33:50that and the direction that mobile is gone and that mobile
- 33:55was going to be the future of the traffic if you like that 70
- 33:5880. Traffic was going to be coming
- 34:00from mobile devices that were sensible to prioritize them.
- 34:04So that was the sort of the most basic level, that just avoid
- 34:11manipulation in terms of things, like screen, sizes, and
- 34:14resolutions in that was all delivered from, you know, got
- 34:18out of GA looking at what sizes were currently being used but
- 34:24also for sizes were up and coming and it's not just, you
- 34:27know, it's not I'd done deal. All these, they need to reviewed
- 34:30every year, 18 months or whatever, you know, with the
- 34:33next iPhone, triple XL comes out.
- 34:37Well what's that going to mean for, you know, where our calls
- 34:41to action on your page and everything like that?
- 34:44But we can had to start somewhere, it was the principle
- 34:48was that it would be going to render well on, you know, 95 99
- 34:53percent of our actual users that were on the site and then others
- 34:58wouldn't get on. Unusable experience, but we had
- 35:02to accept that giving everybody an identical experience was not
- 35:08the most user-centric thing to do.
- 35:10The user doesn't, isn't comparing your site across
- 35:13devices. It's only you and your
- 35:16management board and a designer, a purist design or somewhere,
- 35:19but it's not actually doesn't actually matter to users.
- 35:22And then you can spend ages trying to, like, engineer things
- 35:27to work perfectly across browsers.
- 35:29Others, but you end up making it super brittle, so you definitely
- 35:32don't do that. That makes sense and then a
- 35:36slightly different question. So it's something you touched on
- 35:39earlier on with around kind of load screens and kind of trying
- 35:44to show that certain parts of the page is loaded when other
- 35:49parts of the page is still loading.
- 35:51So I was going to ask if you've seen any impact from kind of
- 35:55techniques to kind of improve the sieve low-speed, if that
- 35:59makes sense. So things like loading screens,
- 36:03kind of loading, It's all of those kind of interactions.
- 36:07Yeah, tomorrow's I couldn't give you any like, hard-and-fast,
- 36:12sort of, it makes it this much better because it wasn't
- 36:15actually something that I've come across measuring.
- 36:18What I would see is in terms of a piece of advice.
- 36:23Try and pull the critical content.
- 36:26Don't have a loading by some by JavaScript, at all.
- 36:30So, you know, are certainly not by some sort of JavaScript
- 36:33library that you're having to first of all, Lord jQuery to,
- 36:38then waiting that loading and Parson.
- 36:42And then loading and firing off some other jQuery script.
- 36:45And you've got this massive chain of events before your
- 36:48content, loads really the stuff that Really Mars to use Earth
- 36:53above the fold content needs to be in that sort of Base document
- 36:57that then allows the browser to look ahead and parse the
- 37:02document and start pulling content forward as quick as
- 37:06possible, and you can use things like sort of prefetching and
- 37:11resource hence today, in accelerate that process really
- 37:17loading screens and loading spinner.
- 37:21Hours or anything like that should really be avoided where
- 37:25possible you really need to look at your engineering and say, is
- 37:28there anything we could do to just get the base content there
- 37:31quicker and if not, why not? Because insights that I've
- 37:36worked on, it wasn't an area of real Focus.
- 37:39The focus was just get that page there as quick as possible.
- 37:43And you try a trying to avoid workarounds and just work with
- 37:49the browser that makes sense. And then, I think James, you had
- 37:53another question. Yeah, I'm thinking crystal ball
- 37:59time. Stir the the joys ever, like
- 38:02stayed at what's coming up and what's the next big thing?
- 38:04So, do you think Insight in terms of user experience site
- 38:08performance optimization there. The principles need to be
- 38:12applied again to be broadly, consistent over the next year or
- 38:15so, or do you think the is browsers and Technologies change
- 38:19so quickly, that they're likely to be new things that people
- 38:21need to be? Aware of.
- 38:22And is there anything new ish that you think people need to
- 38:25read up more about and understand the impact of I think
- 38:30Leo and stability will start to be talked about a bit more, but
- 38:33I think the only really be talked about by those who have
- 38:37done a lot of work on existence 8-speed.
- 38:40But I think we'll all have been on websites where you go to
- 38:44clicking a button, then all the content around it shifts.
- 38:48And then you click on the wrong thing and it's just, and then
- 38:52you'll go to a page. You didn't tend to go to, they
- 38:54need to go back and the whole process has got to start again.
- 38:57So these sorts of Annoying user experiences, I think will become
- 39:03much more important and of course things.
- 39:06Like of course, it's becoming much more a part of this.
- 39:09You'll and people need to really get that.
- 39:13It's probably the most important organic ranking Factor on mobile
- 39:19that people are not paying enough attention to and I do
- 39:22wonder if something like Leo instability might then coming to
- 39:25the rank or I'd be out of that site, speed sort of calculation,
- 39:32as Google does, get better at JavaScript engine and things
- 39:36about. So I'd certainly encourage
- 39:38people to think about how did your peas jump, the boat as it
- 39:40loads and and what could be done to make it as smooth as possible
- 39:44and in terms of future step, but most people get to that two
- 39:49seconds or sub 2 seconds. If you can using real data, not
- 39:53just some sort of synthetic monitoring looking at your real
- 39:56customers. Thanks a lot that's new Fraser
- 39:58Use. I notice I can mean the layout
- 40:01instability. They seen that a lot on heavy
- 40:03content sites where you might have new sites.
- 40:06For example, list of Articles, the page loads and you think
- 40:09you're cooking the art where you want, but then it's jumped and
- 40:11you're in a different article and then you look at again, hang
- 40:14of it is I press that by mistake, then you go back and if
- 40:17the reloading issue still persists, then you can have done
- 40:19this two or three times in the same Journey where I then get so
- 40:22annoyed with myself. Yeah.
- 40:25Yeah, I've definitely seen sites as well.
- 40:27And you can space where people have tried to kind of optimize
- 40:32as much as possible to get this page loading quickly.
- 40:35But then the rendering pass off and it just doesn't feel very
- 40:38premium. And see, I've definitely seen a
- 40:40lot of that in the past. The Rings are sort of obvious.
- 40:44Just going to see the Ranger and say the things is.
- 40:46I mean something people aren't really looking at.
- 40:48And it does look quite complicated but, you know,
- 40:53there's A lot of, you know, a lot of fear tile ground, looking
- 40:58at how your page renders, then stability, is one part of that
- 41:01and really important part of that.
- 41:02And, you know what, your browser tools, like, Chrome.
- 41:05Has an excellent Suite of tools for looking at how each stage
- 41:08rain during across different devices and to remote debugging
- 41:13on your actual Android phone, for example, and it was a lot of
- 41:17great tools out there that everybody could be using.
- 41:21Absolutely. So last question for me, do you
- 41:25have any recommended reading for people that are generally
- 41:28looking to kind of optimize their site and bring their site
- 41:32in line with best practice or any kind of conferences or
- 41:35people? You think they should follow on
- 41:36Twitter or anything like that. There's so many people that will
- 41:41look at the hashtag web pair I would say first of all and
- 41:46Twitter there are a number of people In the UK, who are
- 41:53really, really good at this. So Andy Davis, I would recommend
- 41:57as an independent consultant Harry Roberts as well.
- 42:02Mr. CSS Wizardry and in turn that would be in terms of u k
- 42:08Consultants. But the many International
- 42:11people, you've got your people who work for some of the big CD
- 42:15ends you've got. People tell me, evarts Cliff
- 42:19Crocker, Of Crocker. Really, really interesting guy
- 42:23who used to work at Walmart labs and did some of the very early
- 42:27work around the relationship between site speed in conversion
- 42:31rate there. And that's a piece of research
- 42:33that still holds wait to this day in terms of conferences,
- 42:39you've got performance. Now, pair of now conference
- 42:44coming up and then yeah, there are theirs.
- 42:51Try to think they used to be divorced the conference.
- 42:53That's not really around anymore.
- 42:55There aren't really any UK conferences around web
- 42:58performance and that I know about coming up, but for these
- 43:02people on Twitter and they'll be able to, they'll be shouting out
- 43:06about all the events they attained and see.
- 43:09Okay so that's that's really useful this thanks that's been
- 43:13absolutely brilliant set of answers and loads of practical
- 43:18useful information. So a huge thank you so much for
- 43:21taking the time to share your knowledge and experience.
- 43:24It's been absolute pleasure, it's a great to speak to you
- 43:27guys and yeah, there's still a topic.
- 43:30I'm very passionate about and anyone can hit me up and ask me
- 43:33any advice would be happy to help.
- 43:35I'm not a consultant, but I'm happy to help.
- 43:38Yeah, that's amazing. And interesting.
- 43:39You speaking at any conferences this year, I haven't got nothing
- 43:43planned. Nor with changing rules last
- 43:46year, I've got quite a lot to take care of.
- 43:49So I'm really just focusing on that just now and then we'll
- 43:53take it from there. Fair enough.
- 43:55If that does change do, let us know will happily share with our
- 43:58audience as well as I'm sure they'd be interested to hear
- 44:00hear more from Yuba. That's brilliant.
- 44:03So that's covered everything we want to do.
- 44:04So hopefully, if everyone listen, that's giving you some
- 44:06really good pointers about Out why site performance is so
- 44:09critical but also some of the things you you can and should be
- 44:12thinking about conversations to have with your technical teams.
- 44:15With that's internal through, external partners.
- 44:18And students said, feel free to hit me up.
- 44:20If you've got other questions and as always, you can contact
- 44:23myself or call by LinkedIn and Twitter.
- 44:25So thanks again for listening and enjoy the rest of your day.