Skip to content

How Gratis Cache Achieves Sub-100ms TTFB

Most WordPress sites load in 2-4 seconds. With Gratis Cache properly configured, you can achieve sub-100ms Time to First Byte. Here is how.

The Three Layers

Layer 1: Object Cache — Redis or APCu stores database query results in memory. Gratis Cache auto-detects the best backend available on your server.

Layer 2: Page Cache — Full HTML output is cached so PHP never needs to run for repeat visitors. Automatic invalidation on post updates.

Layer 3: Edge Cache — Combined with Gratis CDN, static assets are served from edge locations worldwide. Content-hash fingerprinting ensures instant cache busting on deployments.

Request Tracing

Gratis Cache includes a built-in Excimer profiler that samples every frontend request. View timing breakdowns by hook (plugins_loaded, init, template) to find your bottlenecks without any external tools.