Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8251491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:15:16+00:00 2026-06-08T00:15:16+00:00

I have been playing around with the HTML5 offline application cache, running boundary tests

  • 0

I have been playing around with the HTML5 offline application cache,
running boundary tests to study browser behaviour in edge cases, specifically to find out about the cache quota.

So what I did is to generate and serve an offline app manifest and add 300 5MB JPEG files to the cache.

public ActionResult Manifest()
{     
    var cacheResources = new List<string>();
    var n = 300; 

    for (var i = 0; i < n; i++)
        cacheResources.Add("Content/" + Url.Content("collage.jpeg?" + i));

    var manifestResult = new ManifestResult("1")
    {
        NetworkResources = new string[] { "*" },
        CacheResources = cacheResources
    };

    return manifestResult;
}

In the beginning, I adding 1000 JPEG files to the cache, Chrome threw an error:
it failed to commit the new cache to the storage due to quota exceeded.

I managed to get the right number by slowly reducing the number of images i uploaded,
I could add 300 JPEG files to the cache without crashing it

Investigating chrome://appcache-internals/, I was shocked to see that for
one single web application, there is a huge cache of 2.3GB!!

It’s really odd to find that the website I visited is downloading
so much data in the background, and as a user it can get quite
disturbing. Chrome, the (17.0.963.83), desktop browser of choice at that moment
didnt warn me or ask my permission that the site wanted to download and cache
so much data on my local storage! It’s quite outrageous.

Because of the aforementioned behaviour about the browser-wide
quota being exceeded, sites stop committing data to the application cache.

Is there a way for the browser to keep track of all these in a more organized
manner? Currently, the ‘first browsed, first reserved’ is quite annoying. My experience
to resolve this case is to use the applicationCache API to
listen for quota errors, and inform the user to browse to
chrome://appcache-internals/ and remove other caches over
the new one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:15:17+00:00Added an answer on June 8, 2026 at 12:15 am

    Have a look at this whitepaper for more information on how Chrome deals with local storage: https://developers.google.com/chrome/whitepapers/storage

    Temporary storage is limited to 20% of the total pool per app, and the total pool is limited to 50% of the available disk space so Chrome can never fill a disk. As you add more files to your local disk, Chrome will shrink the total allocated to the temporary storage pool accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to html5 and have been playing around with the canvas. I'm wondering
I have been playing around with the canvas element in HTML5 and I am
I have been playing around with Google Apps Script today and I am trying
I have been playing around a bit with a fairly simple, home-made search engine,
I have been playing around with the MVP pattern using winforms for the last
I have been playing around with the Rhino ETL library and really like the
I have been playing around with NSURLConnection. Now I'm trying to grab some data
I have been playing around with GC.GetTotalMemory(). When I create a local variable of
I have been playing around with using graphs to analyze big data. Its been
I have been playing around with the Silverlight progressbar a while and no matter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.