Scott Reed
Jul 10, 2019
(5 votes)

View DXC Cache Status Easier In DevTools

When running on the DXC Episerver uses 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


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


Stefan Holm Olsen
Stefan Holm Olsen 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 👍

Please login to comment.
Latest blogs
Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Content Delivery API – The Case of the Duplicate API Refresh Token

Creating a custom refresh provider to resolve the issues with duplicate tokens in the DXC The post Content Delivery API – The Case of the Duplicate...

David Lewis | Sep 29, 2022 | Syndicated blog

New Optimizely certifications - register for beta testing before November 1st

In January 2023, Optimizely is making updates to the current versions of our certification exams to make sure that each exam covers the necessary...

Jamilia Buzurukova | Sep 28, 2022

Optimizely community meetup - Sept 29 (virtual + Melbourne)

Super excited to be presenting this Thursday the 29th of September at the Optimizely community meetup. For the full details and RSVP's see the...

Ynze | Sep 27, 2022 | Syndicated blog