Edge Functions Guides

Guides, examples, and demonstrations of using the Netlify platform.

Video

Block AI bots from crawling your Netlify site

Learn how to tell AI bots not to crawl some or all of your website's data by adding a robots.txt file. And to cover those pesky bots that don't respect the robot rules, use a Netlify Edge Function to target user agent strings.

AI Edge Functions

Guide

GeoCities Webpages using Langbase & OpenAI

Build an AI generator that creates webpages in the style of GeoCities with the help of Langbase and OpenAI.

AI Edge Functions Functions

Guide

How to deploy a Shopify Hydrogen storefront to Netlify

Find out how to serve a Hydrogen e-commerce site from the edge on Netlify.

Hydrogen Edge Functions Remix

Guide

Blocking AI bots and controlling crawlers

Controlling what content in your site is available to AI bots to crawl and harvest

AI Edge Functions

Guide

Partial Prerendering without a framework

Netlify’s Platform Primitives and Netlify Edge Functions make Partial Prerendering simple to implement in plain static HTML without any framework or even build system.

Functions Edge Functions

Guide

Improve site performance with better serverless insights

Access to serverless invocation and performance metrics help to protect your site performance. See how Function Metrics give the data to help you build better.

Functions Edge Functions Admin

Guide

How to make edge rendering fast

Learn how Netlify's granular cache controls, and planning your technical architecture, can make edge rendering very fast even when your data is not at the edge.

Edge Functions Remix Caching Primitives

Guide

Create an integration that injects edge functions into any site

Use the Netlify SDK to create an integration that can inject an edge function to sites to perform logic on their incoming requests, allowing you to block content based on the location of your site visitors as an example.

SDK Edge Functions

Suggest a guide

Got an idea for a useful guide that you can't currently find here? Want us to explain something, or perhaps you'd like to work on creating a guide with us?

Let us know and we'll see what we can arrange.

We also have a contributor guide for those making content contributions