Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Living on the Edge: Elevating your SEO toolkit to the CDN

2,688 views

Published on

In this talk we'll look at an emerging SEO strategy of EDGE SEO. It will allow you to run SEO experiments and improvements on the CDN by making use of serverless functions.

Published in: Internet
  • Learn more about Hybrid CDN :https://www.slideshare.net/MedianovaCDN/hybrid-cdn-a-combination-of-private-cdn-and-multicdn
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Living on the Edge: Elevating your SEO toolkit to the CDN

  1. 1. @NDEMOOR LIVING ON THE EDGE Eleva3ng your SEO toolkit to the CDN NILS DE MOOR // WOORANK // SLIDESHARE.NET/NDEMOOR
  2. 2. The Rise of the CDN
  3. 3. Source: Cloudflare
  4. 4. Source: Cloudflare
  5. 5. Origin ServerCDN NodeBrowser
  6. 6. Origin ServerBrowser CDN Node ?
  7. 7. Origin ServerBrowser CDN Node
  8. 8. Origin ServerBrowser CDN Node ?
  9. 9. Origin ServerBrowser CDN Node ?
  10. 10. Origin ServerBrowser CDN Node ? ?
  11. 11. Origin ServerBrowser CDN Node
  12. 12. Source: Cloudflare
  13. 13. Speed Bring content closer to the user
  14. 14. Cost Data doesn’t travel as much Less bandwidth = Less cost
  15. 15. Reliability Increased Redundancy
  16. 16. Security SSL out of the box DDoS mitigation
  17. 17. Typically used to cache static file types
  18. 18. CONTENT DELIVERY NETWORK
  19. 19. CONTENT DELIVERY NETWORK
  20. 20. Origin ServerBrowser Worker CDN Node
  21. 21. Worker addEventListener('fetch', event => { event.respondWith(fetchAndApply(event.request)) }) async function fetchAndApply(request) { if (request.headers.get('user-agent').includes('annoying_robot')) { return new Response('Not cool, bro! :(', { status: 403, statusText: 'Forbidden' }) } return fetch(request) }
  22. 22. "SERVERLESS"
  23. 23. "SERVERLESS"
  24. 24. Source: Cloudflare "EDGE COMPUTING"
  25. 25. "EDGE COMPUTING"
  26. 26. EDGE COMPUTING SEO @TaylorDanRW
  27. 27. But why? Platform Restrictions Release Management Performance
  28. 28. Release Management Performance
  29. 29. Platform Restrictions
  30. 30. Release Management
  31. 31. Some examples
  32. 32. addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)); }) async function handleRequest(request) { let path = request.path; let response = await fetch(request); response = new Response(response.body, response); response.headers.set('Link', 'https://example.com' + path + '; rel="alternate"; hreflang="en",' + 'https://fr.example.com' + path + '; rel="alternate"; hreflang="fr",' + 'https://de.example.com' + path + '; rel="alternate"; hreflang="de"' ); return response; } hreflang
  33. 33. Modify robots.txt addEventListener('fetch', event => { event.respondWith(modifyRobots(event.request)) }) async function modifyRobots(request) { if (request.path == "/robots.txt") { return Response.write( "User-agent: * Disallow: /my-secret-collection" ) } return fetch(request) }
  34. 34. addEventListener('fetch', event => { event.respondWith(bulkRedirects(event.request)) }) const redirects = new Map([ ["https://example.com/redirect1", "https://google.com"], ["https://example.com/redirect2", "https://bing.com"] ]) async function bulkRedirects(request) { let location = redirects.get(request.url) if (location) { return Response.redirect(location, 301) } else { return fetch(request) } } Redirect
  35. 35. Security . . . response.headers.set('x-frame-options', 'DENY'); response.headers.set('Strict-Transport-Security', 'max-age=31536000; includeSubDomains' ); . . .
  36. 36. Origin ServerBrowser Worker CDN Server Access Logs "GET /sample-image.png HTTP/2" 200 1479 "GET /style.css HTTP/2" 200 239 . . .
  37. 37. A/B Testing
  38. 38. Edge SEO Toolbox
  39. 39. Great Power = Great Responsibility Change Management Security & Compliance Debugging Accountability
  40. 40. @ndemoor #brightonSEO
  41. 41. Credits pexels.com unsplash.com cloudflare.com aws.amazon.com/lambda/edge/ trends.google.com/trends www.ebay.com/itm/Sun-Type-5-Mechanical-Mouse-with-mouse-pad-p-n-370-1586-/392043118523 www.adpushup.com/blog/9-common-mistakes-that-will-kill-your-ab-testing/ Icons made by Freepik from www.flaticon.com

×