Netli.fyi Blog

Tips, tutorials, and insights about Netlify and managing your projects.

How to test Netlify functions locally
netlify-functions

How to test Netlify functions locally

Test Netlify Functions locally with netlify functions:serve. Debug serverless code safely before deploying using the Netlify CLI and environment variables.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to use Netlify edge functions
edge-functions

How to use Netlify edge functions

Run code at the CDN edge with Netlify Edge Functions. Handle geolocation, personalization, and A/B testing with low latency using Deno and Web APIs.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to trigger a Netlify redeploy using a link
deploy-hooks

How to trigger a Netlify redeploy using a link

Create a one-click redeploy link for Netlify. Use a hidden page with fetch() to trigger deploy hooks from the browser for scheduled content.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to use ES modules in Netlify functions
netlify-functions

How to use ES modules in Netlify functions

Switch from CommonJS to ES modules in Netlify Functions. Use modern import/export syntax with TypeScript for cleaner serverless code.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to return HTML from a Netlify function
netlify-functions

How to return HTML from a Netlify function

Return HTML from Netlify Functions using TypeScript. Set the Content-Type header correctly to render full web pages from serverless functions.

Perttu Lähteenlahti

Perttu Lähteenlahti

Getting started with Netli.fyi
getting-started

Getting started with Netli.fyi

Learn how to manage your Netlify projects on the go with Netli.fyi mobile app. Monitor deploys, check build logs, and stay productive from anywhere.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to deploy a website to Netlify
deployment

How to deploy a website to Netlify

Deploy your first website to Netlify from GitHub. Get automatic deployments on every push with a free live URL in minutes.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to manage environment variables in Netlify
environment-variables

How to manage environment variables in Netlify

Learn how to securely manage environment variables in Netlify for builds, runtime, and deploy contexts. Includes best practices and common pitfalls.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to use Netlify build plugins
build-plugins

How to use Netlify build plugins

Learn how Netlify build plugins work and how to use them to extend your build pipeline. Step-by-step guide with real-world examples.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to use deploy previews on Netlify
deploy-previews

How to use deploy previews on Netlify

Learn how to use Netlify deploy previews to review changes before going live. A practical guide for teams and solo developers.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to add a custom domain to your Netlify site
custom-domains

How to add a custom domain to your Netlify site

Learn how to connect a custom domain to your Netlify site using Netlify DNS or an external DNS provider. Step-by-step guide with best practices.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to connect Contentful with Netlify
contentful

How to connect Contentful with Netlify

Learn how to connect Contentful with Netlify so editors can trigger builds and track deployment status directly from the Contentful UI.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to create a Netlify account
getting-started

How to create a Netlify account

Create a free Netlify account using GitHub in minutes. A beginner-friendly guide to signing up and getting ready to deploy your first site.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to deploy Next.js to Netlify
nextjs

How to deploy Next.js to Netlify

Learn how to deploy a Next.js app to Netlify, including configuration for SSR, SSG, environment variables, and common pitfalls.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to run A/B tests on Netlify
a-b-testing

How to run A/B tests on Netlify

Learn how to run simple A/B tests on Netlify using split testing with redirects. No edge functions required.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to fix common Netlify build errors
debugging

How to fix common Netlify build errors

Learn how to debug and fix the most common Netlify build errors, from dependency issues to environment variable problems.

Perttu Lähteenlahti

Perttu Lähteenlahti

Getting started with the Netlify CLI
cli

Getting started with the Netlify CLI

Learn how to install and use the Netlify CLI to deploy sites, manage environments, run local dev servers, and automate workflows from the command line.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to configure caching headers on Netlify
headers

How to configure caching headers on Netlify

Learn how to control caching behavior on Netlify using headers, the _headers file, and netlify.toml for better performance and correctness.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to deploy a monorepo to Netlify
monorepo

How to deploy a monorepo to Netlify

Learn how to deploy a monorepo to Netlify using build settings, base directories, and common tools like Turborepo and Nx.

Perttu Lähteenlahti

Perttu Lähteenlahti

Understanding Netlify pricing and limits
pricing

Understanding Netlify pricing and limits

A clear breakdown of Netlify pricing, bandwidth limits, build minutes, and common gotchas so you can choose the right plan.

Perttu Lähteenlahti

Perttu Lähteenlahti

How to set up redirects in Netlify
redirects

How to set up redirects in Netlify

Learn how to configure redirects and rewrites in Netlify using the _redirects file or netlify.toml. A practical guide with real-world examples.

Perttu Lähteenlahti

Perttu Lähteenlahti

Netlify vs GitHub Pages for static sites
github-pages

Netlify vs GitHub Pages for static sites

A practical comparison of Netlify and GitHub Pages for static websites. Learn which platform is better for custom domains, builds, forms, and real-world projects.

Perttu Lähteenlahti

Perttu Lähteenlahti

Netlify vs Vercel: which should you choose
vercel

Netlify vs Vercel: which should you choose

A practical comparison of Netlify and Vercel, covering hosting models, frameworks, pricing, performance, and when to choose each platform.

Perttu Lähteenlahti

Perttu Lähteenlahti