---
title: "Relay Performance Best Practices - Air Market"
description: "The Relay code works, but the screen takes too long or redraws more than it should. This is the performance side: where queries go, how caching behaves, and how data is split up and filtered. Reach f…"
canonical: "https://airmarket.ai/app/relay-performance"
---

[Air Market](/) / [Developer Tools](/category/devtools) / Relay Performance Best Practices

Skill by [Meta](/@facebook)

# Relay Performance Best Practices

For when the data loads correctly but the app still feels slow

## What this does

The Relay code works, but the screen takes too long or redraws more than it should. This is the performance side: where queries go, how caching behaves, and how data is split up and filtered. Reach for it when you are tuning an app that is already correct.

### Top 3 things it does for you

- Work out where a query should live
- Cut down unnecessary re-renders
- Set up caching and fetch policies

## Information

**Relay Performance Best Practices at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Meta](/@facebook) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 9 KB |
| Licence | MIT |
| Repository | [facebook/relay](https://github.com/facebook/relay/tree/65df294cad6f708264cfa46c299b5f85c34f980b/skills/relay-performance) |
| GitHub stars | 18,955 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Relay Performance Best Practices and flagged nothing. AIR's verdict: **safe**.

**What Relay Performance Best Practices's check was run against**

|  |  |
| --- | --- |
| Commit | 65df294cad6f708264cfa46c299b5f85c34f980b |
| Content hash | f5447e71445e6530603f15209004158984a3451e398f104e6c09a2772901563e |
| Files read | [Browse the files at this exact commit](https://github.com/facebook/relay/blob/65df294cad6f708264cfa46c299b5f85c34f980b/skills/relay-performance/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Relay Performance Best Practices](/security/relay-performance)

## About Relay Performance Best Practices

Performance best practices for Relay applications, for optimizing data fetching, reducing re-renders, configuring caching, and improving time to first meaningful paint.

The ground covered is query placement, defer, pagination, fetch policies, garbage collection, fragment granularity, and server-side filtering.

It is the companion to relay-best-practices, which handles correctness and architecture - this one picks up once the code is right and still needs to be faster.

## What's inside

- SKILL.md - instructions

## Questions

### Is Relay Performance Best Practices safe to install?

AIR scanned this exact version of Relay Performance Best Practices and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 65df294cad6f, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/relay-performance.

### How do I install Relay Performance Best Practices?

Open https://airmarket.ai/app/relay-performance on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/facebook/relay/tree/65df294cad6f708264cfa46c299b5f85c34f980b/skills/relay-performance. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by Meta](/@facebook)

---

Canonical URL: <https://airmarket.ai/app/relay-performance>
