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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
Popularity
- GitHub stars
- 75k
- Ranking position
- #3064
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.