Nylon Mesh

Getting Started

Install and run Nylon Mesh in under 2 minutes.

Nylon Mesh is a blazing-fast edge proxy built to solve the headaches of caching for modern SSR frameworks.

Why Nylon Mesh?

Frameworks like Next.js, Nuxt, React (SSR), Angular, and Vue are powerful—but server-side rendering is computationally expensive. Running Node.js under heavy traffic without a dedicated caching layer leads to:

  • High CPU usage and slow TTFB
  • Potential crashes under traffic spikes
  • Complex custom caching logic inside your app

Nylon Mesh sits in front of your app. It intercepts HTTP requests, caches the expensive SSR-generated HTML in RAM and Redis, and serves subsequent users instantly—dropping your backend load to near zero.

Installation

The fastest way to install Nylon Mesh globally is via our official installation script:

curl -fsSL https://mesh.nylon.sh/install | bash

Alternatively, you can compile and run directly from source:

cargo build --release

Initialization

Generate a ready-to-use configuration file:

nylon-mesh init

This creates a nylon-mesh.yaml in your project folder. No code changes required.

Running the Proxy

Start by pointing the proxy at your config:

cargo run --release -- start -c nylon-mesh.yaml

Or run it directly:

nylon-mesh start -c <config-path>

🎉 You're all set!

Traffic hitting port 3000 (default) is now being cached and routed to your backend efficiently. Check out the Configuration to fine-tune your mesh.

On this page