What is edge SEO?

Date:


In traditional SEO practices, changes like meta tag updates, redirects or content adjustments are typically made on the origin server, which then distributes these updates to users via content delivery networks (CDNs).

This process can be slow and cumbersome, particularly for large websites or those with global audiences. With edge SEO, these changes are implemented at the network’s edge, closer to the user, allowing for real-time updates and reducing latency.

This practice also helps overcome challenges posed by complex server infrastructures, where making server-side changes can be time consuming or technically difficult.

Before the phrase “edge SEO” was officially introduced, the concept was already taking shape in the minds of forward-thinking SEOs and developers. I’m fortunate to have been credited with coining the phrase at the TechSEO Boost conference in 2018.

What is edge SEO?

Edge SEO involves implementing technical SEO recommendations (and code) through a serverless application, such as Cloudflare Workers, deployed on a CDN. 

This approach allows website changes without altering the site’s underlying code base. It works by modifying the request and response interactions between the client — whether it’s a user or a search engine like Googlebot.

As shown in the example below, the left side displays the direct server response, while the right side shows the response as rendered by a user or search engine:

Edge SEO ExampleEdge SEO Example

The difference is the addition of hreflang, which is injected into the head by a Cloudflare Worker.

How does edge SEO impact page load speed?

When it comes to page load speed, edge SEO can introduce some latency, but the impact is minimal. Based on tests conducted on real-world websites, the average added latency is around 10 milliseconds (ms). 

During our testing and in rare cases, the latency might increase to as much as 50 ms. 

This typically occurs due to factors such as the platform being used or the size of the packets returned by the server. 

Websites that serve large packets, uncompressed media or oversized images, especially those with slow performance in general, may experience a slight amplification of this latency. 

Nonetheless, the overall impact on page speed remains minor in most scenarios.

If you’re using Cloudflare as your CDN, you may already use minification, Brotli and other speed optimization tools.

Get the newsletter search marketers rely on.


What change can be implemented with edge SEO?

Edge SEO offers a wide range of modifications, providing plenty of opportunities to optimize a website or quickly fix issues, even when the traditional development queue is slow.

Redirect implementation

You can set up various types of redirects, such as 301 (permanent) and 302 (temporary) redirects, to ensure proper SEO handling of page changes. This can be vital for platforms with redirect limits, such as Salesforce Commerce Cloud or SAP Hybris.

Changes can be made to the HTTP header responses, like adding or altering the X-Robots-Tag, which controls how search engines crawl and index specific pages.

Robots.txt modifications

Edge SEO allows you to modify or create a robots.txt file, even on platforms with restrictions, such as Shopify, to better control which parts of your site are crawled by search engines.

JavaScript pre-rendering

You can implement pre-rendering solutions to deliver fully rendered pages to search engines, which can help with SEO on JavaScript-heavy websites.

Collecting server logs

Edge SEO enables the collection of server log files, including from platforms that don’t traditionally allow you to access log files, to analyze and optimize your strategy based on real user and bot interactions.

Content injection and overwriting

New content can be injected into pages and existing content (i.e., meta titles, descriptions and body text) can be overwritten without modifying the core code.

Schema markup implementation

You can add structured data through schema markup to improve how search engines understand and display your content in rich search results.

Hreflang tag management

Edge SEO enables the implementation and management of hreflang tags, even when content is hosted on multiple platforms or ccTLDs. This ensures proper language and regional targeting across a website.

Which CDNs offer this functionality?

Several CDNs offer this kind of functionality as part of free, freemium and premium plans.

Not all providers offer the same range of functionality, but from our research, the core functionalities address the major (or most common) technical SEO needs.

  • Cloudflare Workers.
  • AWS Cloudfront with Lambda@Edge.
  • Fastly Compute@Edge.
  • Akamai EdgeWorkers.
  • Azure with Azure Functions.
  • BunnyCDN with Edge Scripts.

Netlify offers serverless functions that can run in response to HTTP requests, which can be used with their CDN capabilities. Likewise, Vercel also offers a range of serverless functions for dynamic content.

Using edge SEO techniques responsibly

Edge SEO provides a valuable way to implement changes, whether for a short-term fix to ease the development team’s burden or for a longer-term feature that improves user experience. 

It’s essential to avoid working in isolation. Just because this technique allows you to bypass making changes to the codebase directly, it doesn’t mean that it should bypass the development/engineering team.

Ensure that your development team is involved and informed about the changes being made through the CDN, adhering to their deployment and testing guidelines. 

This communication is crucial, as standard development practices could inadvertently introduce bugs or create misleading issues during testing phases, potentially impacting the site’s overall functionality.

Why edge SEO?

For some, edge SEO may appear to be just another trend to explore or a luxury tool lacking real value. 

However, it has the potential to significantly enhance the SEO capabilities of many SEOs and in-house digital teams. 

These teams often encounter real-world challenges from custom platforms, legacy technology stacks or specific configurations that complicate implementation.

Addressing technical challenges with edge SEO

Edge SEO represents a transformative approach to website optimization, enabling real-time updates and modifications without altering the underlying code base. 

By leveraging CDNs and serverless applications, you can address complex SEO challenges more efficiently, ultimately enhancing user experience and site performance. 

Edge SEO lets businesses stay agile and responsive to meet user and search engine needs effectively.

Contributing authors are invited to create content for Search Engine Land and are chosen for their expertise and contribution to the search community. Our contributors work under the oversight of the editorial staff and contributions are checked for quality and relevance to our readers. The opinions they express are their own.



Source link

Share post:

[tds_leads title_text="Subscribe" input_placeholder="Email address" btn_horiz_align="content-horiz-center" pp_checkbox="yes" pp_msg="SSd2ZSUyMHJlYWQlMjBhbmQlMjBhY2NlcHQlMjB0aGUlMjAlM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUzRVByaXZhY3klMjBQb2xpY3klM0MlMkZhJTNFLg==" f_title_font_family="653" f_title_font_size="eyJhbGwiOiIyNCIsInBvcnRyYWl0IjoiMjAiLCJsYW5kc2NhcGUiOiIyMiJ9" f_title_font_line_height="1" f_title_font_weight="700" f_title_font_spacing="-1" msg_composer="success" display="column" gap="10" input_padd="eyJhbGwiOiIxNXB4IDEwcHgiLCJsYW5kc2NhcGUiOiIxMnB4IDhweCIsInBvcnRyYWl0IjoiMTBweCA2cHgifQ==" input_border="1" btn_text="I want in" btn_tdicon="tdc-font-tdmp tdc-font-tdmp-arrow-right" btn_icon_size="eyJhbGwiOiIxOSIsImxhbmRzY2FwZSI6IjE3IiwicG9ydHJhaXQiOiIxNSJ9" btn_icon_space="eyJhbGwiOiI1IiwicG9ydHJhaXQiOiIzIn0=" btn_radius="3" input_radius="3" f_msg_font_family="653" f_msg_font_size="eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIifQ==" f_msg_font_weight="600" f_msg_font_line_height="1.4" f_input_font_family="653" f_input_font_size="eyJhbGwiOiIxNCIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9" f_input_font_line_height="1.2" f_btn_font_family="653" f_input_font_weight="500" f_btn_font_size="eyJhbGwiOiIxMyIsImxhbmRzY2FwZSI6IjEyIiwicG9ydHJhaXQiOiIxMSJ9" f_btn_font_line_height="1.2" f_btn_font_weight="700" f_pp_font_family="653" f_pp_font_size="eyJhbGwiOiIxMyIsImxhbmRzY2FwZSI6IjEyIiwicG9ydHJhaXQiOiIxMSJ9" f_pp_font_line_height="1.2" pp_check_color="#000000" pp_check_color_a="#ec3535" pp_check_color_a_h="#c11f1f" f_btn_font_transform="uppercase" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjQwIiwiZGlzcGxheSI6IiJ9LCJsYW5kc2NhcGUiOnsibWFyZ2luLWJvdHRvbSI6IjM1IiwiZGlzcGxheSI6IiJ9LCJsYW5kc2NhcGVfbWF4X3dpZHRoIjoxMTQwLCJsYW5kc2NhcGVfbWluX3dpZHRoIjoxMDE5LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" msg_succ_radius="2" btn_bg="#ec3535" btn_bg_h="#c11f1f" title_space="eyJwb3J0cmFpdCI6IjEyIiwibGFuZHNjYXBlIjoiMTQiLCJhbGwiOiIxOCJ9" msg_space="eyJsYW5kc2NhcGUiOiIwIDAgMTJweCJ9" btn_padd="eyJsYW5kc2NhcGUiOiIxMiIsInBvcnRyYWl0IjoiMTBweCJ9" msg_padd="eyJwb3J0cmFpdCI6IjZweCAxMHB4In0="]
spot_imgspot_img

Popular

More like this
Related

3 Food Recalls You Need To Know About This Week

Within the last two weeks, three major...

Why Is the Night Sky Dark? You Can Thank the Big Bang

I love it when a seemingly simple question—one...

Shock of the season?! Spurs hit FOUR to leave Man City in disarray

Highlights from the Premier League clash between Manchester...