Skip to content
Skillpedia
Deploy & cloud (DevOps)75k · #3064

ttfb

What it does

This skill looks at how quickly a server starts responding to a visitor's request. It is for developers who see slow page starts and want a faster server response.

When to use it

  • ✓When a page takes a long time before anything appears in the browser.
  • ✓When server-rendered pages or APIs have slow first responses.
  • ✓When a team needs to know whether slowness comes from the server or the network.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/ttfb/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/ttfb/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My site takes ages before the first thing loads. Can you check if the server is the problem?”

5 new skills a week. 1 minute to read.

How it works

The agent looks at server processing, caching and database work on the path to the first response. It separates server time from network delay before suggesting changes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Reduce Time to First Byte (TTFB)

TTFB is the foundation of page performance; if the server is slow to respond, all subsequent loading stages are delayed.

Quick Reference

  • Optimize server-side logic and database queries to speed up response generation
  • Use a Content Delivery Network (CDN) to serve content closer to users
  • Implement effective caching strategies at the server and edge levels

Check

Review the page's TTFB and identify any bottlenecks in the server-side processing or network transmission.

Fix

Optimize the server's response time by improving database queries, caching responses, and using a CDN.

Explain

Explain how TTFB impacts the entire page load process and why it is a critical starting point for performance optimization.

Code Review

Review server-rendered routes, API handlers, cache configuration, and database access on the critical path. Flag uncached HTML, slow synchronous work before the first byte, repeated upstream fetches, or expensive queries that keep TTFB above roughly 800ms.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/ttfb

FAQ

What is a good first response time?

The skill flags response times above roughly 800 milliseconds as a concern.

Can a CDN help?

Yes. The skill suggests a content delivery network to serve content closer to users.

What commonly causes slow responses?

Slow database queries, missing caching and repeated upstream requests are common causes it looks for.

Details

Original description by the author

Use when auditing slow first responses on SSR pages, APIs, or cacheable HTML. Distinguish origin compute time from network latency and CDN cache misses before proposing a fix.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#3064
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills