22
EXPERIENCED WEB PERFORMANCE EXPERIENCED WEB PERFORMANCE Optimierungen jenseits der messbaren Kriterien Optimierungen jenseits der messbaren Kriterien #CONTAOKONFERENZ19 – JANOSCH OLTMANNS #CONTAOKONFERENZ19 – JANOSCH OLTMANNS

EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

EXPERIENCED WEB PERFORMANCEEXPERIENCED WEB PERFORMANCEOptimierungen jenseits der messbaren KriterienOptimierungen jenseits der messbaren Kriterien

#CONTAOKONFERENZ19 – JANOSCH OLTMANNS#CONTAOKONFERENZ19 – JANOSCH OLTMANNS

Page 2: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

ROADMAPROADMAPExperienced Web Performance?»Initialization & Priorization»Loading & Distraction»Preloading & Prediction»Feedback & Animation»…»

Page 3: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Janosch OltmannsJanosch Oltmanns #Frontend #Performance #Online Softwareentwicklung #Agile Prozesse

#Münsterland

Page 4: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

EXPERIENCED WEB PERFORMANCEEXPERIENCED WEB PERFORMANCE

Page 5: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

WEB PERFORMANCEWEB PERFORMANCEKeine blockierenden Ressourcen»Bilder in passenden Abmessungen»minimiertes CSS»minimiertes JavaScript»kein unnützes CSS».gzip»schnelle Antwortzeit (TTFB)»keine unnötigen Redirects»…»

Alles messbare Kriterien!

Page 6: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

PERCEIVED PERFORMANCEPERCEIVED PERFORMANCEWie schnell fühlt sich die Website beim Laden an.

Page 7: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

EXPERIENCED WEB PERFORMANCEEXPERIENCED WEB PERFORMANCEWie schnell fühlt sich die Website bei der Nutzung an.

Page 8: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

INITIALIZATION & PRIORIZATIONINITIALIZATION & PRIORIZATION

Page 9: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Initialization & PriorizationInitialization & PriorizationBedienbarkeit nicht abhängig von JavaScript»durchdachtes Laden von Komponenten»wichtige Komponenten zuerst berücksichtigen»sekundäre Inhalte nachrangig betrachten»

Page 10: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

LOADING & DISTRACTIONLOADING & DISTRACTION

Page 11: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Loading

Page 12: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Loading & DistractionLoading & DistractionSofern machbar eine Progressbar und keinen Spinner verwenden»Bilder immer progressiv laden»Platz für Bilder blockieren»Above the Fold priorisieren»

Page 13: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

PRELOADING & PREDICTIONPRELOADING & PREDICTION

Page 14: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Preload

w3c.github.io/preload

» caniuse.com/#search=preload

Page 15: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Prediction <script> let teasers = document.querySelectorAll('.teaser'); teasers.forEach(teaser => { teaser.addEventListener('mouseenter', () => { let link = teaser.querySelector('a[href]'); if (link) { fetch(link.getAttribute('href')); } }); }); </script>

Page 16: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Preloading & PredictionPreloading & PredictionPreload nutzen»Verhalten des Benutzers vorhersagen»Inhalte bewusst in den Cache laden»Erfahrungen / Analysen nutzen»

Page 17: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

FEEDBACK & ANIMATIONFEEDBACK & ANIMATION

Page 18: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

:active-Status

Zu den Projekten Zu den Projekten

Page 19: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Feedback hilft eurem Benutzer Prozesse zu verstehen!

Page 20: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Es gibt nichts langweiligeres als lineare Animationen!

transition-duration: .8s; transition-timing-function: cubic-bezier(.08,.83,.33,1);

» cubic-bezier.com

Page 21: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

Feedback & AnimationFeedback & Animation:active aktiv verwenden»mit dem Benutzer kommunizieren»eigene transition-timing Funktionen nutzen»Animationen nicht künstlich verlangsamen»Best Practices für Animationen nutzen»

Page 22: EXPERIENCED WEB PERFORM ANCE - Contao Konferenz 2019 …...» Best Practices für Animationen nutzen. If you do build a great experience, customers will tell each other about that

If you do build a great experience, customers will tell each other about that. You needto be consistently awesome.

— Je� Bezos, CEO bei Amazon

VIELEN DANK!VIELEN DANK!