Scott Reed
OMVPPaaS CMS Developer Certificationworkspace_premium +2
Jul 10, 2019
visibility 3643
star star star star star
(5 votes)

View DXC Cache Status Easier In DevTools

When running on the DXC Episerver uses https://www.cloudflare.com/ for it's CDN caching to increase performance.

As most should know when viewing a request in DevTools you can open the request in DevTools and look at the headers and check cf-cache-status to check if a resource has been cached by checking for a HIT response.

We can then look at the cache cache-control header to see for how long e.g. public, max-age 86400 is cached for 24 hours with a HIT to say it's cached.

However it's a bit of a pain to have to click in to all of these, so let's use a not as well known feature of being able to add custom headers to the network requests panel.

Step 1.

In network on DevTools right click the headers area as such

Step 2.

Navigate to Response Header -> Manage Custom Headers

Step 3.

Add in the header cf-cache-status which indicates if it's been cached

Result

Now you'll see a HIT or MISS or Empty (If not going through CloudFlare) giving a lot easier way to see if your resources are being cached.

Easy :-)

Jul 10, 2019

Comments

Jul 10, 2019 02:24 PM

Nice and simple tip, Scott. 👍

Jacob Pretorius
Jacob Pretorius Jul 11, 2019 10:27 AM

That's useful thanks for the tip!

Ravindra S. Rathore
Ravindra S. Rathore Jul 15, 2019 12:29 PM

Very helpful tip 👍

error Please login to comment.
Latest blogs
Budgeting for Agent Platform credits in 2027

How to budget for Optimizely Agent Platform (formerly Opal) credits in 2027: what a credit buys, how to size use cases, and what to agree with...

Matthew Dunn | Nov 15, 2026 |

Integrating Siteimprove with Optimizely: From Accessibility Compliance to Content Excellence

Over the last few months, I’ve worked on several Optimizely solution designs involving accessibility, SEO, analytics, governance, and content...

Madhu | Nov 14, 2026 |

Fallback images that fit: handling broken images with a service worker

A broken image is never the right shape On a content-heavy commerce site, some images will fail. Editors delete assets that are still referenced, C...

Allyn Thomas | Nov 14, 2026

First Impressions of Optimizely Mark Desktop

What is Mark Desktop Optimizely have announced the release of the Mark Desktop App. Mark is the name for the Optimizely Agent Platform formerly kno...

Mark Stott | Nov 12, 2026

Your weekly experiment report is one slash (/) away with Mark

How to build a reusable report skill in Mark for Optimizely Web Experimentation. I want to share something with my fellow CROs. I love using Mark...

Polly Walton | Nov 12, 2026

Why your GeoPoint never reaches Optimizely Graph, and how to fix it

Geo search lets Optimizely Graph match and rank content against geographic coordinates, so applications can deliver location-aware experiences such...

K Khan | Nov 11, 2026