How can you detect if a website is using Netlify CDN by looking at the headers and source code?
Detecting if a website is using Netlify CDN involves examining the HTTP response headers and the source code for indicators unique to Netlify.
Here’s a step-by-step guide to help you identify whether a website is leveraging Netlify’s services:
- Open the Developer Tools: Right-click on the webpage and select “Inspect” or press
Ctrl+Shift+I
(Windows) orCmd+Option+I
(Mac) to open the browser’s developer tools. - Navigate to the Network Tab: Click on the “Network” tab within the developer tools. This will display all network requests made by the page.
- Refresh the Page: Reload the webpage to capture all the network activity.
- Select the Main Document Request: In the list of network requests, click on the first entry or the one that corresponds to the page’s URL.
- Examine the Response Headers: Check the
cache
header for Netlify Edge.