Skip to content

CDN monitoring

CDN & Cache Issues Detection

Your CDN returns 200 OK. But the response body is an HTML error page, not your JavaScript bundle. The browser refuses to execute it. Your checkout breaks. Your uptime tool sees nothing wrong. Sitewatch checks the actual HTTP status and MIME type of every asset on your pages -- so CDN failures get caught, not hidden.

  • Detect when CDN edge nodes serve errors instead of your assets
  • Catch MIME type mismatches that silently break browsers
  • Flag missing or erroring assets on CDN-served URLs

Why it matters

CDN failures are invisible to your server and devastating to your visitors

CDN delivery failures

A CDN edge node returns an error page instead of your JS bundle. The status code is 200. Your server logs look clean. But the browser sees text/html where it expected application/javascript and refuses to execute it. Your site breaks.

MIME type mismatches

Modern browsers enforce strict MIME checking. If a CDN serves JavaScript with a text/html content type, the script is silently blocked. No console error for most users. Just a broken page.

Missing assets on CDN

A deploy invalidates CDN cache but the new files are not there yet. Or a CDN region is out of sync. Assets return 404 while your origin server has them. Sitewatch checks from the outside, like your visitors.

Wrong content types

CDN misconfigurations can serve CSS as application/octet-stream, images with wrong headers, or scripts as plain text. Browsers handle each case differently, but the result is always broken functionality.

Asset redirects and chains

CDN routing rules can redirect asset URLs to error pages, login screens, or entirely different files. Sitewatch follows redirects and validates what actually gets served.

The "up but broken" gap

Your origin returns 200. Your CDN returns 200. But the content delivered to the browser is wrong. This is the gap between "up" and "working" that traditional monitoring ignores.

6

Incident types detected

2-of-3

Retry confirmation

5–30 min

Check intervals

What gets flagged

CDN and delivery issues Sitewatch catches

MIME type and content failures

  • JavaScript served as text/html -- browsers block execution
  • CSS delivered with wrong content-type headers
  • Assets served with unexpected MIME types after CDN routing
  • Non-HTML content returned for pages that should be HTML

Status code and availability

  • 404 and 410 errors on CDN-served asset URLs
  • 5xx errors from CDN edge nodes
  • Asset URLs redirecting to error pages or wrong destinations
  • Missing assets after CDN cache invalidation or deploy

How it works

How Sitewatch detects CDN issues

01

Fetch your page

Sitewatch fetches the page over HTTP from outside your infrastructure and parses the HTML to extract every referenced script, stylesheet, and image URL.

02

Check every asset

Each asset gets a HEAD request to verify its HTTP status code and MIME type. This catches CDN edge nodes returning errors, wrong content types, or redirects.

03

Confirm with retries

Detected issues go through 2-of-3 retry confirmation. Transient CDN glitches are filtered out. Only persistent failures create incidents.

04

Alert with context

Confirmed failures trigger alerts across your configured channels with the asset URL, HTTP status code, expected vs. actual MIME type, and which page is affected.

Is your CDN actually serving what you think it is?

Find out in 2 minutes. Free plan, no credit card required.

The monitoring gap

Your CDN dashboard says healthy. Your visitors say broken.

MIME type validation

Basic monitoring:Not checked
Sitewatch:Every asset verified

CDN error detection

Basic monitoring:Origin returns 200, looks fine
Sitewatch:Checks what CDN actually delivers

Asset status codes

Basic monitoring:Only page-level ping
Sitewatch:Every JS, CSS, and image checked

Redirect detection

Basic monitoring:Not checked
Sitewatch:Asset redirect chains caught

False positive prevention

Basic monitoring:Single check
Sitewatch:2-of-3 retry confirmation

Post-deploy verification

Basic monitoring:Manual browser check
Sitewatch:Automatic on next check cycle

FAQ

Frequently asked questions