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 9326525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T05:06:56+00:00 2026-06-19T05:06:56+00:00

I’m building a web app especially for the iPad (running iOS 6+) showing the

  • 0

I’m building a web app especially for the iPad (running iOS 6+) showing the product collection of a company.

It all worked perfectly using HTML5’s “cache.manifest” file. But since the cache has grown to about 50MB the iPad is not saving the application data anymore. Instead of 50MB the cache size is now 0.1KB according to the Safari settings.

So what is the actual limit of Safari’s cache for a web app and is there a way to enlarge the maximum amount for the application cache?

  • 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-19T05:06:58+00:00Added an answer on June 19, 2026 at 5:06 am

    edit 2nd june 2014 :
    The maximum cache size on iOS7.1 is 300Mb.

    A client asked me this precise question recently, so I investigated.

    As per IOS6 (all my tests have been done on iOS6.1), these are two different things :

    • a website using a .manifest, accessed with mobile Safari
    • a webapp on the home screen, created from the website

    A website with a .manifest can use up to 50mb of cache, with an user permission asked. It can’t use more. This value can be found and cleared in settings/safari/advanced. If you try to stuff more in the cache, a error event will be fire and the window.applicationCache.status will go IDLE.

    A webapp does not share the same cache than its website. Clearing the cache settings/safari/advanced won’t do anything for you home screen webapp. It will accept more than 50mb of cache without user input, but I don’t know exactly how much (I tested with 60mb with success, totally accessible offline. *edit : tried with 83mb, success)
    I don’t know where this data can be seen in iOS settings. I guess nowhere.

    Testing this was a pain in the *** until I found the spec. There’s an API that works perfectly on iOS6.
    You should check window.applicationCache.status, which tells you what’s the app state, and the following events (cut and paste from my code, so with their listener) :

    window.applicationCache.addEventListener('checking', onChecking);
    window.applicationCache.addEventListener('noupdate', onNoupdate);
    window.applicationCache.addEventListener('downloading', onDownloading);
    window.applicationCache.addEventListener('progress', onProgress);
    window.applicationCache.addEventListener('cached', onCached);
    window.applicationCache.addEventListener('updateready', onUpdateready);    
    window.applicationCache.addEventListener('obsolete', onObsolete);
    window.applicationCache.addEventListener('error', onError);
    

    All are working on iOS 6.1, even the progress event with event.loaded and event.total

    A webapp starts by checking, then fires noupdate if the .manifest is the same. Status is IDLE.

    If the .manifest changed, status is DOWNLOADING, the progress event fires for each file in your manifest, then status is UPDATEREADY and the updateready fires.

    If you’re offline, an error event fires and status is IDLE.

    You can test the online/offline status with

    var online = navigator.onLine ? 'online' : 'offline';
    

    It works but the specs says it’s unreliable.

    Three more things to finish :

    • my manifest is named cache.manifest and declared like this <html manifest="cache.manifest">
    • my .htaccess has AddType text/cache-manifest manifest and ExpiresByType text/cache-manifest "access plus 0 seconds"
    • my app has <meta name="apple-mobile-web-app-capable" content="yes">

    With this API, it’s way easier to understand what’s going on under the hood. Be sure to do your own test though, I’m not 100% sure of this results or they can could with a new iOS version. I’ll test further for the maximum size.

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

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a French site that I want to parse, but am running into
I'm interested in microtypography issues on the web. I want a tool to fix:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.

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.