---
title: "Origin server"
description: "The server that holds your actual website. A CDN in front of it passes on every request it cannot answer from its saved copies."
url: https://ursy.com/wiki/origin-server/
updated: 2026-11-26T15:46:05+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/origin-server/
---

# Origin server

> The server that holds your actual website. A CDN in front of it passes on every request it cannot answer from its saved copies.

**An origin server is the server that holds your actual website.** A CDN or reverse proxy sits in front of it, answers what it can from saved copies, and passes the other requests on to the origin. So the origin does the real work for every page the edge cannot answer, and it only sees those requests.

## What is an origin server? {#what-is-an-origin-server}

It is where your pages are built: the web server, the database and the code, such as WordPress or a shop platform. MDN’s [Cache-Control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control) page describes a shared cache as one that “exists between the origin server and clients (e.g., Proxy, CDN)”. In front of the origin sits a [CDN](https://ursy.com/wiki/cdn/) with its [edge cache](https://ursy.com/wiki/edge-cache/). Without a CDN, every [HTTP](https://ursy.com/wiki/http/) request goes straight to the origin.

## What does the reverse proxy in front do? {#what-does-the-reverse-proxy-in-front-do}

Cloudflare’s [How Cloudflare works](https://developers.cloudflare.com/fundamentals/concepts/how-cloudflare-works/) says a reverse proxy “either forwards requests to those web servers, or handles requests on behalf of the web servers”. It adds that it “can also cache content, resulting in faster performance”. MDN’s [proxy guide](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Proxy_servers_and_tunneling) lists three common jobs: load balancing, [caching](https://ursy.com/wiki/caching/) static content, and compression. So the edge is a filter. The origin is the source.

## Why does it matter for speed? {#why-does-it-matter-for-speed}

Every request the edge cannot answer from its cache goes to the origin, so a slow or overloaded origin still makes pages slow. [web.dev](https://web.dev/articles/ttfb) says “Good TTFB values are 0.8 seconds or less”, and values over 1.8 seconds are poor. It says reducing latency “on the backend can lower your TTFB”. A slow [Time to First Byte](https://ursy.com/wiki/time-to-first-byte/) on uncached pages usually points to the origin. That feeds into [Largest Contentful Paint](https://ursy.com/wiki/largest-contentful-paint/) and the rest of the [Core Web Vitals](https://ursy.com/wiki/core-web-vitals/). Read [why your website is slow](https://ursy.com/wiki/why-your-website-is-slow/).

## Why does it matter for search? {#why-does-it-matter-for-search}

[Search crawlers](https://ursy.com/wiki/search-crawler/) [hit](https://ursy.com/wiki/hit-analytics/) the origin too, whenever a page is not cached. If the origin struggles, it answers with errors. [Google](https://ursy.com/wiki/google/)’s page on [reducing crawl rate](https://developers.google.com/search/docs/crawling-indexing/reduce-crawl-rate) says `500`, `503` or `429` replies slow [Googlebot](https://ursy.com/wiki/googlebot/) down. But it warns: if Googlebot sees these codes “on the same [URL](https://ursy.com/wiki/url/) for multiple days, the URL may be dropped from Google’s index.” An origin that fails for days can cost you pages in search. Read [HTTP status code](https://ursy.com/wiki/http-status-code/) and [crawl budget](https://ursy.com/wiki/crawl-budget/).

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

[AI crawlers](https://ursy.com/wiki/ai-crawler/) such as [GPTBot](https://ursy.com/wiki/gptbot/) and [ClaudeBot](https://ursy.com/wiki/claudebot/) read pages the same way. If they ask for pages nobody has opened lately, those pages may not be in the cache, so the request lands on the origin. A slow or failing origin means fewer pages read. The robots.txt file matters most. Google’s [robots.txt rules](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt) say that if robots.txt returns a server error, Google stops [crawling](https://ursy.com/wiki/crawling/) for the first 12 hours. Keep [robots.txt](https://ursy.com/wiki/robots-txt/) cached and fast.

## Why does it matter for analytics? {#why-does-it-matter-for-analytics}

Analytics read from the origin only see the requests that reached it, not the ones served from the edge. So [server logs](https://ursy.com/wiki/server-logs/) on the origin miss every cache hit, and a plugin on the origin misses every [bot](https://ursy.com/wiki/bot-web-robot/) that only read cached pages. That is one reason [analytics numbers look low](https://ursy.com/wiki/why-analytics-numbers-are-low/), and why [bot traffic in analytics](https://ursy.com/wiki/bot-traffic-in-analytics/) is often undercounted. The origin also sees the proxy’s address, not the visitor’s. MDN says `X-Forwarded-For` identifies the original addresses of a client connecting “through an HTTP proxy or a load balancer”.

## How does it protect the origin? {#how-does-it-protect-the-origin}

Cloudflare says that with a proxy, “a web site or service never needs to reveal the [IP address](https://ursy.com/wiki/ip-address/) of their origin servers”. For a `proxied` DNS record, Cloudflare answers with its own address. That makes a [DDoS attack](https://ursy.com/wiki/ddos-attack/) on the origin harder, and lets a [web application firewall](https://ursy.com/wiki/web-application-firewall/) and [rate limiting](https://ursy.com/wiki/rate-limiting/) work at the edge. One [DNS record](https://ursy.com/wiki/dns-records/) left unproxied can give the address away.

## Which Cache-Control rules does the edge follow? {#which-cache-control-rules-does-the-edge-follow}

The origin tells caches what to do in the `Cache-Control` header. MDN’s definitions:

| Rule | What MDN says it does |
| --- | --- |
| `max-age=N` | Fresh until N seconds after the response is made |
| `s-maxage=N` | How long it stays fresh in a shared cache, such as a CDN; overrides max-age there |
| `private` | Stored only in a private cache, such as the browser |
| `no-cache` | May be stored, but must be checked with the origin before each reuse |
| `no-store` | No cache of any kind should store it |
| `stale-while-revalidate` | A stale copy may be reused while the cache checks for a new one |

MDN warns developers to avoid storing personalised content in a shared cache, such as basket or account pages. When you change a page, a [cache purge](https://ursy.com/wiki/cache-purge/) clears the old copy.

## Worked example: one page, two requests {#worked-example-one-page-two-requests}

A bike shop’s product page sits behind Cloudflare. The first visitor after the cache was cleared gets a reply that includes:

```
HTTP/2 200
cf-cache-status: MISS
```

The page could be cached but Cloudflare had no copy yet, so it was fetched from the origin. A minute later the next visitor gets:

```
HTTP/2 200
cf-cache-status: HIT
```

This time the copy came from Cloudflare’s cache, and the origin never saw the request. If the origin’s logs show the first visit but not the second, nothing is wrong: the edge answered.

| CF-Cache-Status | What Cloudflare says it means | Did the origin answer? |
| --- | --- | --- |
| HIT | Found in Cloudflare’s cache | No |
| MISS | Eligible for cache but not in it at the time | Yes |
| EXPIRED | Found in cache but expired, so served from the origin | Yes |
| STALE | Served from cache though expired | No |
| UPDATING | Expired copy served while the origin updates it in the background | Not for this visitor |
| REVALIDATED | The origin confirmed the cached copy was unchanged | Yes, briefly |
| BYPASS | Eligible at first, but the origin’s reply could not be cached | Yes |
| DYNAMIC | Not eligible for cache, so no cache look-up | Yes |
| NONE/UNKNOWN | A response Cloudflare made that is not eligible for caching | No |

Source: [Cloudflare cache responses](https://developers.cloudflare.com/cache/concepts/cache-responses/). Other CDNs use their own header names.

## Common mistakes {#common-mistakes}

- Judging traffic from origin logs alone, and missing every cache hit.
- Sending `private` or `no-store` on pages that could be shared, so every request hits the origin.
- Caching a page that shows a basket or account, so one person’s data reaches another.
- An unproxied DNS record, such as a mail or test [subdomain](https://ursy.com/wiki/subdomain/), that reveals the origin’s address.
- Logging the proxy’s address as the visitor’s, so one address looks like a flood. Read [network block](https://ursy.com/wiki/network-block/).
- A certificate on the CDN but an expired one on the origin. Read [SSL certificate](https://ursy.com/wiki/ssl-certificate/).

## How to check it {#how-to-check-it}

1. Look at a page’s response headers with our [HTTP header checker](https://ursy.com/http-header-checker/). On Cloudflare, `CF-Cache-Status: HIT` means the copy came from the cache; MISS or BYPASS means the request went on to the origin. Our [Edge Cache Checker](https://ursy.com/cache-checker/) checks this for you.
2. Read the `Cache-Control` header on the same reply, and check shared pages are not marked `private` or `no-store`.
3. Measure Time to First Byte on pages that are not cached. Our Page Speed Checker is [coming soon](https://ursy.com/page-speed-checker/), and so is our [Core Web Vitals Checker](https://ursy.com/core-web-vitals-checker/). Read [page speed](https://ursy.com/wiki/page-speed/).
4. Check that [robots.txt](https://ursy.com/wiki/robots-txt/) answers 200, fast, with our [robots.txt checker](https://ursy.com/robots-txt-checker/).
5. Check [redirects](https://ursy.com/wiki/redirect/) are answered in one hop, so the origin is not asked twice, with our [redirect checker](https://ursy.com/redirect-checker/).
6. Check your [DNS](https://ursy.com/wiki/dns/) does not publish the origin’s address on records that are not proxied.
7. See which bots reach the origin. Our [AI Crawler Log Analyser](https://ursy.com/ai-crawler-log-analyzer/) reads your server log in the browser. Check a named bot is real with [Verify an AI Bot](https://ursy.com/verify-ai-bot/), and read [verified bots](https://ursy.com/wiki/verified-bots/) and [user agent](https://ursy.com/wiki/user-agent/).
8. Check how AI readers see your pages with the [AI readiness checker](https://ursy.com/ai-readiness-checker/), and compare your setup with a rival’s in [Compare Two Websites](https://ursy.com/compare-websites/).
9. Over time, the [edge cache report](https://ursy.com/pro/edge-cache-report/), [cached-page visitors](https://ursy.com/pro/cached-page-visitors/), [bot cost](https://ursy.com/pro/bot-cost/) and the [log file analyser](https://ursy.com/pro/log-file-analyser/) are in URSY Pro, opening in stages.

## What URSY.com counts {#what-ursy-counts}

We count requests from two places: the edge log, which lists every request the CDN answered, cached or not, and the origin. A request seen in both has the same Ray ID and is counted once, marked “both”. Machines in the edge log become one row each; people there are counted as hourly totals only. The edge log arrives about 8 to 10 minutes late, so the last hour is incomplete. The full rules are on our [methodology](https://ursy.com/methodology/) page.

## Questions {#questions}

### Is the origin server the same as the host? {#is-the-origin-server-the-same-as-the-host}

Usually the origin is the server your hosting company runs for you. The CDN may be a different company, or part of the same plan.

### Why do my server logs show fewer visits than I expect? {#why-do-my-server-logs-show-fewer-visits-than-i-expect}

Because cache hits never reach the origin. Only the edge log shows them.

### Does a CDN make a slow origin fast? {#does-a-cdn-make-a-slow-origin-fast}

Only for cached pages. Uncached pages, such as search results, baskets and new pages, still wait for the origin.

### Should I hide my origin’s IP address? {#should-i-hide-my-origins-ip-address}

Yes, where you can. Cloudflare says a proxied site never needs to reveal it, which makes direct attacks harder. Check every DNS record.

### What happens to Google if my origin goes down? {#what-happens-to-google-if-my-origin-goes-down}

Short errors slow Googlebot down. Google says errors on the same address for multiple days can see it dropped from the index.

## Related words {#related-words}

- [CDN (content delivery network)](https://ursy.com/wiki/cdn/)
- [Edge cache](https://ursy.com/wiki/edge-cache/)
- [Time to First Byte (TTFB)](https://ursy.com/wiki/time-to-first-byte/)
- [Cache purge](https://ursy.com/wiki/cache-purge/)
- [Server logs](https://ursy.com/wiki/server-logs/)
- [DDoS attack](https://ursy.com/wiki/ddos-attack/)
- [Web application firewall](https://ursy.com/wiki/web-application-firewall/)
- [Why analytics numbers are low](https://ursy.com/wiki/why-analytics-numbers-are-low/)

## Sources {#sources}

- [Cloudflare Docs, How Cloudflare works](https://developers.cloudflare.com/fundamentals/concepts/how-cloudflare-works/), checked 24 November 2026
- [Cloudflare Docs, Cloudflare cache responses](https://developers.cloudflare.com/cache/concepts/cache-responses/), checked 24 November 2026
- [MDN Web Docs, Cache-Control header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control), checked 24 November 2026
- [MDN Web Docs, Proxy servers and tunneling](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Proxy_servers_and_tunneling), checked 24 November 2026
- [web.dev, Time to First Byte (TTFB)](https://web.dev/articles/ttfb) (updated 18 November 2025), checked 24 November 2026
- [Google Search Central, Reduce the Google crawl rate](https://developers.google.com/search/docs/crawling-indexing/reduce-crawl-rate), checked 24 November 2026
- [Google Search Central, How Google interprets the robots.txt specification](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
