Slide 1

Slide 1 text

Benjamin Howarth ASPInsider, @benjaminhowarth

Slide 2

Slide 2 text

What an exciting 2018 it’s been! ▪ Britain is leaving the European Union, probably with no deal, so The Hunger Games UK edition launches on 30th March 2019 ▪ SQL Server runs on Linux ▪ The Pumpkin-In-Chief is (still) President of the United States ▪ .NET and ASP.NET are open-source ▪ England made it to a World Cup semi-final for the first time in 28 years! ▪ Javascript, somehow, became a popular & widely-used server-side programming language

Slide 3

Slide 3 text

▪ What does covfefe HTTP Request Server render Browser load & paint covfefe web performance really mean?

Slide 4

Slide 4 text

▪ Front-end ▪ YSlow with PhantomJS ▪ PageSpeed Insights (now known as Lighthouse) ▪ WebPageTest ▪ Server-side ▪ JMeter ▪ MiniProfiler / Glimpse ▪ Logging

Slide 5

Slide 5 text

▪ This list is longer than Robert Mueller’s subpoena list ▪ (Or longer than the list of certified lies Donald Trump has publicly spoken)

Slide 6

Slide 6 text

▪ Make your requests as small and as infrequent as possible ▪ Cookie-free domains – move your stuff to BLOB & CDN, it‘s cheaper than a coffee – per month ▪ Gzip/Deflate static resources. Dynamic ones – at your own risk (CRIME/BREACH) ▪ HTTP2 DOES NOT SOLVE EVERYTHING ▪ Enable caching on static resources ▪ Headers ▪ ETags ▪ Cache-control (be very careful – private vs. public can catch you out) ▪ Expires (falls back on Cache-Control mechanism)

Slide 7

Slide 7 text

▪ Minify your CSS & Javascript ▪ Don’t lazy-load unless you know it’ll work reliably ▪ Use an in-memory cache to boost speed (RavenDB, Redis, Memcached etc.) ▪ Send 304’s wherever possible (see: ETags)

Slide 8

Slide 8 text

▪ JMeter (already covered) ▪ MiniProfiler ▪ DON’T USE DYNAMICS IN .NET

Slide 9

Slide 9 text

▪ You want resilient, strong, and stable websites

Slide 10

Slide 10 text

▪ Application monitoring ▪ New Relic APM ▪ Gibraltarsoft Loupe ▪ Azure Application Insights ▪ Front-end performance ▪ YSlow (soon to be patched) ▪ Lighthouse ▪ WebPageTest ▪ JMeter

Slide 11

Slide 11 text

I can come to your city: http://bit.ly/PITJECities ▪ Twitter: @benjaminhowarth ▪ Github: github.com/benjaminhowarth1