Overview Open Chrome DevTools What's New in DevTools DevTools tips Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS Developer Resources: View and manually load source maps CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect ArrayBuffer, TypedArray, DataView, and Wasm Memory. Network conditions: Override the user agent string Security: Understand security issues Search: Find text across all loaded resources Sensors: Emulate device sensors WebAuthn: Emulate authenticators Customize DevTools Engineering blog
Overview Open Chrome DevTools What's New in DevTools DevTools tips Simulate mobile devices with Device Mode Performance insights: Get actionable insights on your website's performance Lighthouse: Optimize website speed Animations: Inspect and modify CSS animation effects Changes: Track your HTML, CSS, and JavaScript changes Coverage: Find unused JavaScript and CSS Developer Resources: View and manually load source maps CSS Overview: Identify potential CSS improvements Issues: Find and fix problems Media: View and debug media players information Memory Inspector: Inspect ArrayBuffer, TypedArray, DataView, and Wasm Memory. Network conditions: Override the user agent string Security: Understand security issues Search: Find text across all loaded resources Sensors: Emulate device sensors WebAuthn: Emulate authenticators Customize DevTools Engineering blog

View cache data

Published on Updated on

This guide shows you how to use Chrome DevTools to inspect Cache data.

If you're trying to inspect HTTP cache data, this is not the guide you want. The Size column of the Network Log has the information you're looking for. See Log network activity.

View cache data

  1. Open DevTools > Application > Storage.

  2. To view available caches, expand Expand. Cache Storage.

    Available caches.
  3. Click a cache to view its contents.

    Viewing a cache's contents.
  4. Click a resource to view its HTTP headers in the section below the table.

    Viewing a resource's HTTP headers.
  5. Open the Preview tab to view a resource's content.

    Viewing a resource's content.

Refresh a resource

  1. View a cache's data.

  2. Select the resource that you want to refresh. DevTools highlights it blue to indicate that it's selected.

    Selecting a resource.
  3. Click Refresh Refresh..

Filter resources

  1. View a cache's data.
  2. Use the Filter by Path text box to filter out any resources that do not match the path that you provide.
Filtering out resources that do not match the specified path.

This example filters out resources that don't contain script in their path.

Delete a resource

  1. View a cache's data.

  2. Click the resource that you want to delete. DevTools highlights it blue to indicate that it's selected.

    Selecting a resource to delete.
  3. Click Delete Selected Delete selected..

Delete all cache data

  1. Open Application > Storage.

  2. In the Cache section, make sure Checkbox. Cache Storage is enabled.

  3. Click Clear site data.

    The Cache Storage checkbox and the Clear site data button.

    Tip: Next to Clear site data, enable Checkbox. including third-party cookies to clear those as well.

Updated on Improve article

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.