Skip to content
Lesuto Render Engine

Setup

Drop In One Rule
Keep Your Stack

Verify your domain, create an API key, and paste the snippet for your host. The app also has snippets for Netlify, Django and Laravel. Any failure falls through to your normal page.

A connected domain in Render Engine, verified, with its cache time and cache rules

Before you start

A Quick
Checklist

  1. 01

    Your API Key

    Create a key in the Render Engine app. The app shows each snippet with your key already filled in.

  2. 02

    Every Domain

    Verify each domain with one TXT record. A domain covers its www host too; other subdomains are added on their own.

  3. 03

    HTTPS On The Site

    Serve the public hostname over HTTPS from your host or CDN.

  4. 04

    A Clean Check

    Run the first command below and wait for a 200 before you send live crawler traffic.

Check your work

Confirm It
With One Request

Replace the example domain and API key with your own. Run the purge from your deploy script when a page changes.

Check from your terminalShell
# 1. Render Engine renders your page (expect 200 and an X-Render-Cache header). A check
#    from your own machine cannot claim to be Googlebot: claims are verified against Google's addresses.
curl -s -o /dev/null -D - -A "LesutoRenderCheck/1.0" \
  -H "X-Render-Key: YOUR_RENDER_KEY" -H "X-Render-Url: https://YOUR_DOMAIN/" \
  "https://api.lesuto.com/api/v2/render-engine/render"

# 2. Your site sends crawlers the rendered page (expect lesuto:rendered, from the cache step 1 filled)
curl -s -A "Googlebot" "https://YOUR_DOMAIN/" | grep -i "lesuto:rendered"

# 3. People still get the live site
curl -s "https://YOUR_DOMAIN/" | head -n 20
Purge a changed pageShell
curl -s -X POST "https://api.lesuto.com/api/v2/render-engine/purge" \
  -H "X-Render-Key: YOUR_RENDER_KEY" -H "Content-Type: application/json" \
  -d '{"url": "https://YOUR_DOMAIN/products/example"}'

Want A Hand
With Setup

Book a free call and we will set up Render Engine with you on your own stack.

Set Up Render Engine: Cloudflare, nginx, Apache, Caddy, Next.js, Express, WordPress and More