View cache data  |  DevTools  |  Chrome for Developers (2024)

Stay organized with collections Save and categorize content based on your preferences.

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 Sizecolumn 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 View cache data | DevTools | Chrome for Developers (3) Cache Storage.

    View cache data | DevTools | Chrome for Developers (4)

  3. Click a cache to view its contents.

    View cache data | DevTools | Chrome for Developers (5)

  4. Click a resource to view its HTTP headers in the section below the table.

    View cache data | DevTools | Chrome for Developers (6)

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

    View cache data | DevTools | Chrome for Developers (7)

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'sselected.

    View cache data | DevTools | Chrome for Developers (8)

  3. Click Refreshrefresh.

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 thatyou provide.

View cache data | DevTools | Chrome for Developers (9)

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'sselected.

    View cache data | DevTools | Chrome for Developers (10)

  3. Click Delete Selected View cache data | DevTools | Chrome for Developers (11).

Delete all cache data

  1. Open Application > Storage.
  2. In the Cache section, make sure View cache data | DevTools | Chrome for Developers (12) Cache Storage is enabled.

  3. Click Clear site data.

    View cache data | DevTools | Chrome for Developers (13)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2019-03-25 UTC.

View cache data  |  DevTools  |  Chrome for Developers (2024)
Top Articles
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 5578

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.