SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
The Vue of SEO
How to make your Single-Page App rank well
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
André Scharf
Digital Lead | ViiV Healthcare
@andrescharf
Dennis Schaaf
Technology Lead | futurice
@dennisschaaf
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Abstract
With the rise of modern web-frameworks, single-page applications have conquered the web. If done right, they
are not only faster and smoother than conventional websites, but also create a richer user-experience. These
modern applications don’t just enable new interaction patterns, but also new capabilities, such as offline and
real-time data interactions.
This has come at a cost – more client-side JavaScript increases the download time of pages, while client-side
URL routing introduces new problems – it delays the page-rendering time even further and makes it hard for
search engines to index your pages. Dangerous stuff if you care about your search-engine ranking.
André will talk about what it takes to build top-ranking web applications, while Dennis will demonstrate some
software architecture patterns using Vue.js to dramatically increase performance.
https://javascript-conference.com/web-development-architecture/the-vue-of-search-engine-optimization-how-to
-make-your-single-page-app-rank-well/
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Why even care about SEO?
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
93%
of online experiences
begin with a search
engine.
40k
Google search queries
are conducted every
second
91%
of internet users use
search.
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Search engines are complex systems …
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
… with a very simple job
Crawl Index Serve
● Search the web
● Find and follow hyperlinks
● Collect new and updated
pages and content
● Render web pages
● Search and analyse page
content
● Analyse connections of
pages through their links
● Interpret search queries in
their context
● Fetch matching search
results from index
● Evaluate and rank results
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Therefore, there are 3 sides to that story
Make the
technical side run
smoothly
Create valuable
and indexable
content
Make sure the
word can be
shared easily
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
And 4 boxes to tick off before going live
©moz.com,14/04/17
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Can you make it look fancy, please?
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
The rise of Single-page JavaScript Frameworks
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Single Page Applications work differently
Client
Server
InitialGETrequest
FormPOST
Page
reload
Traditional Page Lifecycle
Client
Server
InitialGETrequest
AJAX
{…}
JSON
SPA Lifecycle
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Does Google care about fancy?
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Google still has issues dealing with JS
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
“If you search for any competitive keyword
terms, it’s always going to be server rendered
sites. And the reason is because although Google
does index client-side rendered HTML, it’s not
perfect yet and other search engines don’t do it
as well. So if you care about SEO, you still need to
have server-rendered content.”
Jeff Whelpley
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
How to get it right then
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Client
Server
Initialrequest
AJAX
{…}
JSON
Traditional SPA
Client
Server
Optimizing for ‘Time to First meaningful Paint’
Initialrequest
AJAX
(otherdata)
{…}
JSON
With Pre-Rendering
HTML
Assets
HTML
(Rendered)
1STEMANINGFULLPAINT
1STEMANINGFULLPAINT
Assets
HTML
(Empty)
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Optimize server rendering time
Use a Varnish Cache between your server and
the public, to ensure most pages are ‘cached’
(Still needs to be
Even better: pre-render all your pages to HTML
files, so that they load in light-speed!
Option 1: Server-side rendering
+ Caching
Option 2: Pre-rendering vacuumshoover-craft-2000
vacuumsroomba-k2-neo
pharmacypreservatives
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Extra Credit - Optimize Initial load
Chunking of JS bundles
(very tricky to get running with SSR)
Problem: Need to know which chunks to
inline and which chunks to load after
Inline Critical (“Above the fold”) CSS
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Get the content right
Content to HTML Ratio > 15% Use Components to get rid of unnecessary
wrapping elements, and simplify the HTML
structure.
Use scoped styles for simpler code and less
CSS-classes.
Lose the deeply nested
Bootstrap template
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Get the content right
HTML-Tag Optimization
Use only one H1!!
Use semantic tags
Add follow/nofollow for links
Remember Image Alt-texts
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Get the content right
Add ‘Structured Markup’ to the page
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
What about Hash navigation?
Google ignores everything after the # Use Vue-Router in combination with server-side
redirect rules to point to your relevant pages:
For example with web.config
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Single-page URL Navigation
HTML5 Browser History API
Make your URLs
Human-readable
Have canonical urls
Page Titles - URL - and H1 and Meta-Tag should
have matching content
Vue-Router (Pages & Meta-data)
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Single-page URL Navigation
Tracking of navigation events
Option 1: Google Tag Manager - using “History
Listener” tag type
Option 2: Google Analytics virtual page views
Option 3: Autotrack
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Manage Duplicate Routes and Redirects
Force a trailing slash on the url
Eg. redirect site.com/test ->
site.com/test/
Add Meta-data with Canonical tags
Add redirects for moved pages
Use 301 Permanent redirect instead of creating a
404 to avoid loosing page ranking.
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Auto generate your Sitemap.xml and Robots.txt!
For your sitemap: @nuxtjs/sitemap For your robots: nuxt-robots
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
What else to keep in mind
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Use Google tag manager
Update external libraries easier
Load 3rd party libraries asynchronously,
independent of developers (for managing
ad-campaigns, retargeting, etc.)
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
SEO – Check if it works
● Create list of all URLs (XML Sitemap)
● “Fetch as Google” in Search Console
● Crawl site (using ScreamingFrog, JS
and regular mode)
● Check and configure analytics
● Run a site:-search in Google
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
Thank you!
Any questions?
The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
One More Thing!
Do you like building
awesome apps?
Look for ‘Futurice’
Or, look at ‘Spice program’

Más contenido relacionado

Último

'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...sonatiwari757
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Standkumarajju5765
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663Call Girls Mumbai
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 

Último (20)

'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

The Vue of SEO – How to make your Single-Page App rank well | iJS 2017

  • 1. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf The Vue of SEO How to make your Single-Page App rank well
  • 2. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf André Scharf Digital Lead | ViiV Healthcare @andrescharf Dennis Schaaf Technology Lead | futurice @dennisschaaf
  • 3. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Abstract With the rise of modern web-frameworks, single-page applications have conquered the web. If done right, they are not only faster and smoother than conventional websites, but also create a richer user-experience. These modern applications don’t just enable new interaction patterns, but also new capabilities, such as offline and real-time data interactions. This has come at a cost – more client-side JavaScript increases the download time of pages, while client-side URL routing introduces new problems – it delays the page-rendering time even further and makes it hard for search engines to index your pages. Dangerous stuff if you care about your search-engine ranking. André will talk about what it takes to build top-ranking web applications, while Dennis will demonstrate some software architecture patterns using Vue.js to dramatically increase performance. https://javascript-conference.com/web-development-architecture/the-vue-of-search-engine-optimization-how-to -make-your-single-page-app-rank-well/
  • 4. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Why even care about SEO?
  • 5. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf 93% of online experiences begin with a search engine. 40k Google search queries are conducted every second 91% of internet users use search.
  • 6. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Search engines are complex systems …
  • 7. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf … with a very simple job Crawl Index Serve ● Search the web ● Find and follow hyperlinks ● Collect new and updated pages and content ● Render web pages ● Search and analyse page content ● Analyse connections of pages through their links ● Interpret search queries in their context ● Fetch matching search results from index ● Evaluate and rank results
  • 8. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Therefore, there are 3 sides to that story Make the technical side run smoothly Create valuable and indexable content Make sure the word can be shared easily
  • 9. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf And 4 boxes to tick off before going live ©moz.com,14/04/17
  • 10. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Can you make it look fancy, please?
  • 11. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf The rise of Single-page JavaScript Frameworks
  • 12. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Single Page Applications work differently Client Server InitialGETrequest FormPOST Page reload Traditional Page Lifecycle Client Server InitialGETrequest AJAX {…} JSON SPA Lifecycle
  • 13. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Does Google care about fancy?
  • 14. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf
  • 15. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Google still has issues dealing with JS
  • 16. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf “If you search for any competitive keyword terms, it’s always going to be server rendered sites. And the reason is because although Google does index client-side rendered HTML, it’s not perfect yet and other search engines don’t do it as well. So if you care about SEO, you still need to have server-rendered content.” Jeff Whelpley
  • 17. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf How to get it right then
  • 18. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Client Server Initialrequest AJAX {…} JSON Traditional SPA Client Server Optimizing for ‘Time to First meaningful Paint’ Initialrequest AJAX (otherdata) {…} JSON With Pre-Rendering HTML Assets HTML (Rendered) 1STEMANINGFULLPAINT 1STEMANINGFULLPAINT Assets HTML (Empty)
  • 19. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Optimize server rendering time Use a Varnish Cache between your server and the public, to ensure most pages are ‘cached’ (Still needs to be Even better: pre-render all your pages to HTML files, so that they load in light-speed! Option 1: Server-side rendering + Caching Option 2: Pre-rendering vacuumshoover-craft-2000 vacuumsroomba-k2-neo pharmacypreservatives
  • 20. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Extra Credit - Optimize Initial load Chunking of JS bundles (very tricky to get running with SSR) Problem: Need to know which chunks to inline and which chunks to load after Inline Critical (“Above the fold”) CSS
  • 21. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Get the content right Content to HTML Ratio > 15% Use Components to get rid of unnecessary wrapping elements, and simplify the HTML structure. Use scoped styles for simpler code and less CSS-classes. Lose the deeply nested Bootstrap template
  • 22. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Get the content right HTML-Tag Optimization Use only one H1!! Use semantic tags Add follow/nofollow for links Remember Image Alt-texts
  • 23. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Get the content right Add ‘Structured Markup’ to the page
  • 24. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf What about Hash navigation? Google ignores everything after the # Use Vue-Router in combination with server-side redirect rules to point to your relevant pages: For example with web.config
  • 25. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Single-page URL Navigation HTML5 Browser History API Make your URLs Human-readable Have canonical urls Page Titles - URL - and H1 and Meta-Tag should have matching content Vue-Router (Pages & Meta-data)
  • 26. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Single-page URL Navigation Tracking of navigation events Option 1: Google Tag Manager - using “History Listener” tag type Option 2: Google Analytics virtual page views Option 3: Autotrack
  • 27. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Manage Duplicate Routes and Redirects Force a trailing slash on the url Eg. redirect site.com/test -> site.com/test/ Add Meta-data with Canonical tags Add redirects for moved pages Use 301 Permanent redirect instead of creating a 404 to avoid loosing page ranking.
  • 28. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Auto generate your Sitemap.xml and Robots.txt! For your sitemap: @nuxtjs/sitemap For your robots: nuxt-robots
  • 29. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf What else to keep in mind
  • 30. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Use Google tag manager Update external libraries easier Load 3rd party libraries asynchronously, independent of developers (for managing ad-campaigns, retargeting, etc.)
  • 31. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf SEO – Check if it works ● Create list of all URLs (XML Sitemap) ● “Fetch as Google” in Search Console ● Crawl site (using ScreamingFrog, JS and regular mode) ● Check and configure analytics ● Run a site:-search in Google
  • 32. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf Thank you! Any questions?
  • 33. The Vue of SEO | iJS Conference 2017Dennis Schaaf | André Scharf One More Thing! Do you like building awesome apps? Look for ‘Futurice’ Or, look at ‘Spice program’