Debugging browser requests to Fastly objects
Fastly allows you to add a special header to your request which instructs it to include detailed cache information in the response. This information is useful in debugging cache issues, especially around
max-age and surrogate keys.
Firefox's dev tools make it easy to edit and resend an HTTP request. Use this flow to add the Fastly debug header in the browser:
- Open Dev Tools and switch to the Network tab. You may need to refresh the page to capture the request for the current page.