Mobile eCommerce
Technical Performance
Здравейте
Петър Николов
Peter Nikolow
Можете да ме намерите:
twitter.com/peternikolow
facebook.com/peter.nikolow
linkedin.com/in/peternikolow
Product Expert - Google Webmaster Help
Forum
Utopia
“никой няма да пазарува от телефона си,
това е фантастика и няма как да се случи”
ДА АМА НЕ!
Случи се.
“ПРИ НАС Е РАЗЛИЧНО!”
ДА АМА НЕ!
Make Mobile
Sites Great Again!
1.
TECHNICAL
INFRASTRUCTURE
Едно добро начало
Traffic spikes
The Good, the Bad and the Ugly
▷ Shared hosting
▷ VPS hosting
▷ Dedicated server
The Good, the Bad and the Ugly
Benchmarks
▷ Ab - old and single threaded
▷ siege - old and single threaded
▷ wrk
▷ wrk2
▷ gobench
▷ gohttpbench
▷ Sniper
▷ htstress
DBs
▷ MySQL
○ MariaDB
○ Percona
▷ Memory DB
○ Memcached
○ Redis
Protocols
▷ HTTP
○ keep-alive
▷ HTTP/2
○ only encrypted - TLS
▷ QUIC
Protocols
▷ TLS 1.0 & 1.1 - deprecated
▷ TLS 1.2 - current
▷ TLS 1.3
Redirects
Винаги правете редиректите за целия сайт.
Никога не правете частични редиректи.
Тествайте, не предполагайте!
2.
CLIENT SIDE
Винаги може още малко да се изтиска
“We must deliver and render the
above the fold (ATF) content in
under one second, which allows the
user to begin interacting with the
page as soon as possible
https://developers.google.com/speed/docs/insights/mobile
Mobile SEO Configuration
▷ Responsive Design
○ cheap
○ same HTML
○ same url
○ doesn’t solve all mobile user issues
▷ Dynamic Serving
○ same url
▷ Separate URLs
○ AMP
Code Coverage
Code Coverage
Chrome User Experience Report
Chrome User Experience Report
Chrome User Experience Report
▷ Mobile
○ FCP - 1.5, 2.7, >2.7 sec
○ DCL - 1.9, 3.9, >3.9 sec
▷ Desktop
○ FCP - 1.1, 2.2, >2.2 sec
○ DCL - 1.4, 2.8, >2.8 sec
▷ Public Google BigQuery
Google BigQuery
Google BigQuery
Google BigQuery
Google Data Studio
Google Data Studio
Google Data Studio
Google Analytics
Google Analytics
Google Analytics
Google Analytics
Google Chrome Lighthouse
Google Chrome Lighthouse
Google Chrome Lighthouse
Fixes
▷ Minimize HTML
○ Critical first 15k
○ ATF - Above the fold
○ PageSpeed Insights
▷ Minimize CSS
○ implement ATF CSS
▷ Minimize JS
○ use Vanilla JS
○ use just bare minimum libraries
○ use WebPack
Fixes
▷ Minimize Images
○ Lazy Loading
○ Responsive images
○ WebP
▷ Minimize 3rd party assets
○ Google Maps
○ YouTube
○ Tracking scripts, beacons
▷ Minimize Fonts
○ Serif, Sans-Serif, Monospace
Благодаря!
Въпроси?

Петър Николов. "Mobile Ecommerce Technical Performance"