SlideShare une entreprise Scribd logo
1  sur  49
Télécharger pour lire hors ligne
CertiFUNcation Day 2017 June 9th 2017
T Y P O 3 W E B S I T E
P E R F O R M A N C E
I M P R O V E C O N V E R S I O N
PA G E S P E E D M AT T E R S T O G O O G L E
W H Y S H O U L D I C A R E ?
PA G E S P E E D M AT T E R S T O V I S I T O R S
W H Y S H O U L D I C A R E ?
CertiFUNcation Day 2017 June 9th 2017
S P E E D M AT T E R S !
CertiFUNcation Day 2017 June 9th 2017
A 1 S E C O N D D E L AY I N PA G E L O A D T I M E
7% loss in conversions
11% fewer page views
16% decrease in customer satisfaction
S P E E D M AT T E R S
If an e-commerce site
is making 100.000 a day
they could lose 2.5 million
a year in sales
CertiFUNcation Day 2017 June 9th 2017
T RY B O T H A N D P I C K A S I D E
W E B S I T E P E R F O R M A N C E
CertiFUNcation Day 2017 June 9th 2017
B A C K E N D
O N T H E L E F T S I D E
CertiFUNcation Day 2017 June 9th 2017
B A C K E N D
R U L E # 1
config.no_cache = 1
✘
CertiFUNcation Day 2017 June 9th 2017
B A C K E N D
AV O I D _ I N T
# Setting "felogin" plugin TypoScript

plugin.tx_felogin_pi1 = USER_INT

plugin.tx_felogin_pi1 {

userFunc = TYPO3CMSFeloginControllerFrontendLoginController->main



storagePid = {$styles.content.loginform.pid}

recursive =



templateFile = {$styles.content.loginform.templateFile}



feloginBaseURL =
…
B A C K E N D
Use the admin panel
B A C K E N D
Deactivate
extensions not in use
CertiFUNcation Day 2017 June 9th 2017
• More PHP processing
• Use wisely
• HMENU’s are processor hungry
• Delete unused TypoScript
T Y P O S C R I P T
B A C K E N D
CertiFUNcation Day 2017 June 9th 2017
B A C K E N D
U S E W I S E LY
page = PAGE

page {

10 = FLUIDTEMPLATE

10 {

variables {

colPos1 = CONTENT

colPos1 {

table = tt_content

select {

orderBy = sorting

where = colPos=1

}

}
…
<f:cObject typoscriptObjectPath=“lib.column.1" />
Use the TypoScript
Object Browser
and Template Analyzer
T Y P O S C R I P T
B A C K E N D
CertiFUNcation Day 2017 June 9th 2017
B A C K E N D
C A C H E TA G S
elements.headerBar = COA

elements.headerBar {



10 = TEXT

10 {

cache {

key = headerBarLogo_{TSFE:sys_language_uid}

key {

insertData = 1

}

lifetime = default

}
…
CertiFUNcation Day 2017 June 9th 2017
B A C K E N D
D ATA P R O C E S S I N G
tt_content.batman_content_element = FLUIDTEMPLATE

tt_content.batman_content_element {

file = Batman.html

file.wrap = EXT:batman/Resources/Private/Templates/|



dataProcessing {

10 = DCBatmanDataProcessingDarkKnightProcessor

}

}
…
Logged in frontend users
TypoScript conditions
C A C H E F L O O D I N G
B A C K E N D
CertiFUNcation Day 2017 June 9th 2017
• Remove metadata
• Remove color profile
O P T I M I Z E I M / G M
B A C K E N D
CertiFUNcation Day 2017 June 9th 2017
• nc_staticfilecache
• Caching mechanisms (Redis, Varnish, Reverse Proxy)
S O M E M O R E
B A C K E N D
CertiFUNcation Day 2017 June 9th 2017
F R O N T E N D
O N T H E R I G H T S I D E
CertiFUNcation Day 2017 June 9th 2017
• HTTP request
• Process request (See the left side again ;-)
• HTTP response
T T F B
F R O N T E N D
CertiFUNcation Day 2017 June 9th 2017
C O N C U R R E N T H T T P R E Q U E S T S
F R O N T E N D
6 - 8( H T T P / 1 . 1 )
CertiFUNcation Day 2017 June 9th 2017
F R O N T E N D
C O N C AT E N AT E
config {
concatenateJs = 1

removeDefaultJS = 1
concatenateCss = 1
…
CertiFUNcation Day 2017 June 9th 2017
• Sprites (images / SVG)
• Embedded images (data:image/png;base64)
• Embedded SVG
• Cookieless domain (Reduce traffic) or CDN (better)
M O R E T O C O N S I D E R
F R O N T E N D
CertiFUNcation Day 2017 June 9th 2017
M O R E T O C O N S I D E R
F R O N T E N D
<link rel="dns-prefetch" href="//example.com">



<link rel="preconnect" href="http://example.com">

T H E B U I L D
F R O N T E N D
B U I L D I N G T H E D O M
F R O N T E N D
B U I L D I N G T H E C S S O M
F R O N T E N D
B U I L D I N G T H E R E N D E R T R E E
F R O N T E N D
L AY O U T / R E F L O W
F R O N T E N D
PA I N T
F R O N T E N D
CertiFUNcation Day 2017 June 9th 2017
• Executed immediately (blocks parsing)
• Executed while parsing (async, only external)
• Executed after parsing (defer, only external)
J AVA S C R I P T
F R O N T E N D
CertiFUNcation Day 2017 June 9th 2017
M O R E T O C O N S I D E R
F R O N T E N D
<img src="small.jpg" srcset="medium.jpg 1000w, large.jpg 2000w" alt="yah">
CertiFUNcation Day 2017 June 9th 2017
• mod_expires for static assets
• Serve with timestamp ?1234567890
B R O W S E R C A C H I N G
F R O N T E N D
CertiFUNcation Day 2017 June 9th 2017
M O R E T O C O N S I D E R
F R O N T E N D
<link rel="preload" href="https://example.com/fonts/font.woff" as="font" crossorigin>
T RY B O T H A N D P I C K A S I D E
W E B S I T E P E R F O R M A N C E
G E T I T V I S U A L
Y O U R T O O L B O X
Y S L O W
Y O U R T O O L B O X
Y S L O W
Y O U R T O O L B O X
PA G E S P E E D I N S I G H T S
Y O U R T O O L B O X
P I N G D O M
Y O U R T O O L B O X
P I N G D O M
Y O U R T O O L B O X
W E B PA G E T E S T
Y O U R T O O L B O X
W E B PA G E T E S T
Y O U R T O O L B O X
G T M E T R I X
Y O U R T O O L B O X
– M A R I S S A M AY E R
“To me, speed is really about convenience.”
twitter.com/aurora_borealis
facebook.com/padraigbroens
linkedin.com/in/typo3development
patrick.broens
keybase.io/auroraborealis

Contenu connexe

Similaire à Performance

Great SEO made simple
Great SEO made simple Great SEO made simple
Great SEO made simple Richard Jaggs
 
Growth Hackers of Vienna - Meetup #2 Part1&2
Growth Hackers of Vienna - Meetup #2  Part1&2Growth Hackers of Vienna - Meetup #2  Part1&2
Growth Hackers of Vienna - Meetup #2 Part1&2Growth Hackers of Vienna
 
Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016
Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016
Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016DMX Dublin
 
SharePoint Saturday Redmond - Building solutions with the future in mind
SharePoint Saturday Redmond - Building solutions with the future in mindSharePoint Saturday Redmond - Building solutions with the future in mind
SharePoint Saturday Redmond - Building solutions with the future in mindChris Johnson
 
Switching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileSwitching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileDoc Norton
 
01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuc
01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuc01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuc
01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuckohlervietnam
 
AWS re:Invent 2017 Recap - Strategy & Direction
AWS re:Invent 2017 Recap - Strategy & DirectionAWS re:Invent 2017 Recap - Strategy & Direction
AWS re:Invent 2017 Recap - Strategy & DirectionAmazon Web Services
 
GPSBUS216-GPS Applying AI-ML to Find Security Needles in the Haystack
GPSBUS216-GPS Applying AI-ML to Find Security Needles in the HaystackGPSBUS216-GPS Applying AI-ML to Find Security Needles in the Haystack
GPSBUS216-GPS Applying AI-ML to Find Security Needles in the HaystackAmazon Web Services
 
AWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 MelbourneAWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 MelbourneAmazon Web Services
 
Filmzu Pitch Deck
Filmzu Pitch Deck Filmzu Pitch Deck
Filmzu Pitch Deck thefilmzu
 
GPSBUS206_Best Practices for Building a Partner Database Practice on AWS
GPSBUS206_Best Practices for Building a Partner Database Practice on AWSGPSBUS206_Best Practices for Building a Partner Database Practice on AWS
GPSBUS206_Best Practices for Building a Partner Database Practice on AWSAmazon Web Services
 
Gartner: Changing the CIO game with a Data Driven Culture
Gartner: Changing the CIO game with a Data Driven CultureGartner: Changing the CIO game with a Data Driven Culture
Gartner: Changing the CIO game with a Data Driven CultureGendry Morales
 
Delight Your Customers with Modern SEO
Delight Your Customers with Modern SEODelight Your Customers with Modern SEO
Delight Your Customers with Modern SEOCharlotte Han
 
Gartner - Changing the CIO game with a Data Driven Culture
Gartner - Changing the CIO game with a Data Driven CultureGartner - Changing the CIO game with a Data Driven Culture
Gartner - Changing the CIO game with a Data Driven CultureGendry Morales
 
PitchSkills Business Presentation Template - Sharp
PitchSkills Business Presentation Template - SharpPitchSkills Business Presentation Template - Sharp
PitchSkills Business Presentation Template - SharpPitchSkills
 
Reflection on the Data Science Profession in NYC
Reflection on the Data Science Profession in NYCReflection on the Data Science Profession in NYC
Reflection on the Data Science Profession in NYCWork-Bench
 

Similaire à Performance (20)

Great SEO made simple
Great SEO made simple Great SEO made simple
Great SEO made simple
 
The Digital Transformation: A New World Order
The Digital Transformation: A New World OrderThe Digital Transformation: A New World Order
The Digital Transformation: A New World Order
 
Growth Hackers of Vienna - Meetup #2 Part1&2
Growth Hackers of Vienna - Meetup #2  Part1&2Growth Hackers of Vienna - Meetup #2  Part1&2
Growth Hackers of Vienna - Meetup #2 Part1&2
 
Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016
Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016
Afonso Rebelo de Sousa, LinkedIn - DMX Dublin 2016
 
SharePoint Saturday Redmond - Building solutions with the future in mind
SharePoint Saturday Redmond - Building solutions with the future in mindSharePoint Saturday Redmond - Building solutions with the future in mind
SharePoint Saturday Redmond - Building solutions with the future in mind
 
Switching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileSwitching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to Agile
 
01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuc
01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuc01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuc
01 bai anh tran khanh trung ctxvn-yeu totieucuctichcuc
 
AWS re:Invent 2017 Recap - Strategy & Direction
AWS re:Invent 2017 Recap - Strategy & DirectionAWS re:Invent 2017 Recap - Strategy & Direction
AWS re:Invent 2017 Recap - Strategy & Direction
 
UU Open Positions
UU Open PositionsUU Open Positions
UU Open Positions
 
GPSBUS216-GPS Applying AI-ML to Find Security Needles in the Haystack
GPSBUS216-GPS Applying AI-ML to Find Security Needles in the HaystackGPSBUS216-GPS Applying AI-ML to Find Security Needles in the Haystack
GPSBUS216-GPS Applying AI-ML to Find Security Needles in the Haystack
 
AWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 MelbourneAWS Seminar Series 2015 Melbourne
AWS Seminar Series 2015 Melbourne
 
Filmzu Pitch Deck
Filmzu Pitch Deck Filmzu Pitch Deck
Filmzu Pitch Deck
 
GPSBUS206_Best Practices for Building a Partner Database Practice on AWS
GPSBUS206_Best Practices for Building a Partner Database Practice on AWSGPSBUS206_Best Practices for Building a Partner Database Practice on AWS
GPSBUS206_Best Practices for Building a Partner Database Practice on AWS
 
Gartner: Changing the CIO game with a Data Driven Culture
Gartner: Changing the CIO game with a Data Driven CultureGartner: Changing the CIO game with a Data Driven Culture
Gartner: Changing the CIO game with a Data Driven Culture
 
Delight Your Customers with Modern SEO
Delight Your Customers with Modern SEODelight Your Customers with Modern SEO
Delight Your Customers with Modern SEO
 
Gartner - Changing the CIO game with a Data Driven Culture
Gartner - Changing the CIO game with a Data Driven CultureGartner - Changing the CIO game with a Data Driven Culture
Gartner - Changing the CIO game with a Data Driven Culture
 
A ChatGPT Content Creation Master Class - Leah Faul, 15000 Cubits
A ChatGPT Content Creation Master Class - Leah Faul, 15000 CubitsA ChatGPT Content Creation Master Class - Leah Faul, 15000 Cubits
A ChatGPT Content Creation Master Class - Leah Faul, 15000 Cubits
 
AWS SeMINAR SERIES 2015 Sydney
AWS SeMINAR SERIES 2015 SydneyAWS SeMINAR SERIES 2015 Sydney
AWS SeMINAR SERIES 2015 Sydney
 
PitchSkills Business Presentation Template - Sharp
PitchSkills Business Presentation Template - SharpPitchSkills Business Presentation Template - Sharp
PitchSkills Business Presentation Template - Sharp
 
Reflection on the Data Science Profession in NYC
Reflection on the Data Science Profession in NYCReflection on the Data Science Profession in NYC
Reflection on the Data Science Profession in NYC
 

Plus de Patrick Broens

TYPO3 8LTS Release party
TYPO3 8LTS Release partyTYPO3 8LTS Release party
TYPO3 8LTS Release partyPatrick Broens
 
How to please the editor
How to please the editorHow to please the editor
How to please the editorPatrick Broens
 
Impress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit furtherImpress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit furtherPatrick Broens
 
Fluid content rendering
Fluid content renderingFluid content rendering
Fluid content renderingPatrick Broens
 
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...Patrick Broens
 
TU/e - Back to the TYPO3 CMS basics
TU/e - Back to the TYPO3 CMS basicsTU/e - Back to the TYPO3 CMS basics
TU/e - Back to the TYPO3 CMS basicsPatrick Broens
 
TYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruikenTYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruikenPatrick Broens
 

Plus de Patrick Broens (10)

TYPO3 8LTS Release party
TYPO3 8LTS Release partyTYPO3 8LTS Release party
TYPO3 8LTS Release party
 
How to please the editor
How to please the editorHow to please the editor
How to please the editor
 
The Future of TYPO3
The Future of TYPO3The Future of TYPO3
The Future of TYPO3
 
Impress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit furtherImpress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit further
 
Fluid content rendering
Fluid content renderingFluid content rendering
Fluid content rendering
 
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
 
TU/e - Back to the TYPO3 CMS basics
TU/e - Back to the TYPO3 CMS basicsTU/e - Back to the TYPO3 CMS basics
TU/e - Back to the TYPO3 CMS basics
 
TYPO3 teams
TYPO3 teamsTYPO3 teams
TYPO3 teams
 
Web accessibility
Web accessibilityWeb accessibility
Web accessibility
 
TYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruikenTYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruiken
 

Dernier

办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxMario
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxNIMMANAGANTI RAMAKRISHNA
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119APNIC
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxmibuzondetrabajo
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxAndrieCagasanAkio
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 

Dernier (11)

办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptx
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptx
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptx
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptx
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 

Performance

  • 1. CertiFUNcation Day 2017 June 9th 2017 T Y P O 3 W E B S I T E P E R F O R M A N C E I M P R O V E C O N V E R S I O N
  • 2. PA G E S P E E D M AT T E R S T O G O O G L E W H Y S H O U L D I C A R E ?
  • 3. PA G E S P E E D M AT T E R S T O V I S I T O R S W H Y S H O U L D I C A R E ?
  • 4. CertiFUNcation Day 2017 June 9th 2017 S P E E D M AT T E R S !
  • 5. CertiFUNcation Day 2017 June 9th 2017 A 1 S E C O N D D E L AY I N PA G E L O A D T I M E 7% loss in conversions 11% fewer page views 16% decrease in customer satisfaction
  • 6. S P E E D M AT T E R S If an e-commerce site is making 100.000 a day they could lose 2.5 million a year in sales
  • 7. CertiFUNcation Day 2017 June 9th 2017
  • 8. T RY B O T H A N D P I C K A S I D E W E B S I T E P E R F O R M A N C E
  • 9. CertiFUNcation Day 2017 June 9th 2017 B A C K E N D O N T H E L E F T S I D E
  • 10. CertiFUNcation Day 2017 June 9th 2017 B A C K E N D R U L E # 1 config.no_cache = 1 ✘
  • 11. CertiFUNcation Day 2017 June 9th 2017 B A C K E N D AV O I D _ I N T # Setting "felogin" plugin TypoScript
 plugin.tx_felogin_pi1 = USER_INT
 plugin.tx_felogin_pi1 {
 userFunc = TYPO3CMSFeloginControllerFrontendLoginController->main
 
 storagePid = {$styles.content.loginform.pid}
 recursive =
 
 templateFile = {$styles.content.loginform.templateFile}
 
 feloginBaseURL = …
  • 12. B A C K E N D Use the admin panel
  • 13. B A C K E N D Deactivate extensions not in use
  • 14. CertiFUNcation Day 2017 June 9th 2017 • More PHP processing • Use wisely • HMENU’s are processor hungry • Delete unused TypoScript T Y P O S C R I P T B A C K E N D
  • 15. CertiFUNcation Day 2017 June 9th 2017 B A C K E N D U S E W I S E LY page = PAGE
 page {
 10 = FLUIDTEMPLATE
 10 {
 variables {
 colPos1 = CONTENT
 colPos1 {
 table = tt_content
 select {
 orderBy = sorting
 where = colPos=1
 }
 } … <f:cObject typoscriptObjectPath=“lib.column.1" />
  • 16. Use the TypoScript Object Browser and Template Analyzer T Y P O S C R I P T B A C K E N D
  • 17. CertiFUNcation Day 2017 June 9th 2017 B A C K E N D C A C H E TA G S elements.headerBar = COA
 elements.headerBar {
 
 10 = TEXT
 10 {
 cache {
 key = headerBarLogo_{TSFE:sys_language_uid}
 key {
 insertData = 1
 }
 lifetime = default
 } …
  • 18. CertiFUNcation Day 2017 June 9th 2017 B A C K E N D D ATA P R O C E S S I N G tt_content.batman_content_element = FLUIDTEMPLATE
 tt_content.batman_content_element {
 file = Batman.html
 file.wrap = EXT:batman/Resources/Private/Templates/|
 
 dataProcessing {
 10 = DCBatmanDataProcessingDarkKnightProcessor
 }
 } …
  • 19. Logged in frontend users TypoScript conditions C A C H E F L O O D I N G B A C K E N D
  • 20. CertiFUNcation Day 2017 June 9th 2017 • Remove metadata • Remove color profile O P T I M I Z E I M / G M B A C K E N D
  • 21. CertiFUNcation Day 2017 June 9th 2017 • nc_staticfilecache • Caching mechanisms (Redis, Varnish, Reverse Proxy) S O M E M O R E B A C K E N D
  • 22. CertiFUNcation Day 2017 June 9th 2017 F R O N T E N D O N T H E R I G H T S I D E
  • 23. CertiFUNcation Day 2017 June 9th 2017 • HTTP request • Process request (See the left side again ;-) • HTTP response T T F B F R O N T E N D
  • 24. CertiFUNcation Day 2017 June 9th 2017 C O N C U R R E N T H T T P R E Q U E S T S F R O N T E N D 6 - 8( H T T P / 1 . 1 )
  • 25. CertiFUNcation Day 2017 June 9th 2017 F R O N T E N D C O N C AT E N AT E config { concatenateJs = 1
 removeDefaultJS = 1 concatenateCss = 1 …
  • 26. CertiFUNcation Day 2017 June 9th 2017 • Sprites (images / SVG) • Embedded images (data:image/png;base64) • Embedded SVG • Cookieless domain (Reduce traffic) or CDN (better) M O R E T O C O N S I D E R F R O N T E N D
  • 27. CertiFUNcation Day 2017 June 9th 2017 M O R E T O C O N S I D E R F R O N T E N D <link rel="dns-prefetch" href="//example.com">
 
 <link rel="preconnect" href="http://example.com">

  • 28. T H E B U I L D F R O N T E N D
  • 29. B U I L D I N G T H E D O M F R O N T E N D
  • 30. B U I L D I N G T H E C S S O M F R O N T E N D
  • 31. B U I L D I N G T H E R E N D E R T R E E F R O N T E N D
  • 32. L AY O U T / R E F L O W F R O N T E N D
  • 33. PA I N T F R O N T E N D
  • 34. CertiFUNcation Day 2017 June 9th 2017 • Executed immediately (blocks parsing) • Executed while parsing (async, only external) • Executed after parsing (defer, only external) J AVA S C R I P T F R O N T E N D
  • 35. CertiFUNcation Day 2017 June 9th 2017 M O R E T O C O N S I D E R F R O N T E N D <img src="small.jpg" srcset="medium.jpg 1000w, large.jpg 2000w" alt="yah">
  • 36. CertiFUNcation Day 2017 June 9th 2017 • mod_expires for static assets • Serve with timestamp ?1234567890 B R O W S E R C A C H I N G F R O N T E N D
  • 37. CertiFUNcation Day 2017 June 9th 2017 M O R E T O C O N S I D E R F R O N T E N D <link rel="preload" href="https://example.com/fonts/font.woff" as="font" crossorigin>
  • 38. T RY B O T H A N D P I C K A S I D E W E B S I T E P E R F O R M A N C E
  • 39. G E T I T V I S U A L Y O U R T O O L B O X
  • 40. Y S L O W Y O U R T O O L B O X
  • 41. Y S L O W Y O U R T O O L B O X
  • 42. PA G E S P E E D I N S I G H T S Y O U R T O O L B O X
  • 43. P I N G D O M Y O U R T O O L B O X
  • 44. P I N G D O M Y O U R T O O L B O X
  • 45. W E B PA G E T E S T Y O U R T O O L B O X
  • 46. W E B PA G E T E S T Y O U R T O O L B O X
  • 47. G T M E T R I X Y O U R T O O L B O X
  • 48. – M A R I S S A M AY E R “To me, speed is really about convenience.”