|Application Cache Error Codes||dosboy||4/1/11 1:45 PM|
Is there a list of these somewhere? I'm getting the following errors
with an offline app and don't really know what they mean / what to do
to fix them.
Application Cache Error event: Resource fetch failed (416)
Application Cache Error event: Resource fetch failed (-1)
Also, the -1 message is on a really large (108MB) file. Is there a
limit to the size of a file that Chrome can cache for offline use?
It's part of a hosted app with manifest, so I've already defined that
Chrome has unlimited storage.
Any help would be greatly appreciated.
|Re: [chromium-html5] Application Cache Error Codes||Michael Nordman||4/1/11 1:59 PM|
|Re: Application Cache Error Codes||dosboy||4/1/11 2:20 PM|
I uninstalled the app and cleared all the data from the site and the
416 error went away. I think my cache was corrupt somehow.
I look forward to your answer on the 108MB file though. Thanks in
> On Fri, Apr 1, 2011 at 1:45 PM, dosboy <garth.gutenb...@gmail.com> wrote:> > To post to this group, send email to chromium-ht...@chromium.org.
> > To unsubscribe from this group, send email to> > chromium-html5+unsubscr...@chromium.org.
|Re: [chromium-html5] Re: Application Cache Error Codes||Michael Nordman||4/1/11 3:50 PM|
On Fri, Apr 1, 2011 at 3:23 PM, Michael Nordman <mich...@google.com> wrote:
Yup, 108MB exceeds the max size that the system will accept for an individual file in the current implementation. The current impl puts a max of 260MB on the appcache and derives the max size of an individual resource by dividing the overall max by 8.
|Re: Application Cache Error Codes||dosboy||4/1/11 5:03 PM|
No problem re. duplicates. And thanks for looking into the size
limits. It'd be really good if these limits were documented on the
Hosted App developer documentation. Packaged App docs identify a 10MB
limit; Hosted App docs should do the same.
Out of curiosity, what does the -1 error code mean? I ask because I
just got it again with my app, however reloading the page seems to
have eliminated it.
Actually, since I have your ear, are there any other limits that
you're aware of? Specifically, I have 10,000+ files in a single
directory for my app. It seems to work ok, but I'm wondering if I'm
pushing the upper bounds of what's possible, and if so would prefer to
know before I run into it.
> chromium.orgaddr when replying to the list)
|Re: [chromium-html5] Re: Application Cache Error Codes||Michael Nordman||4/1/11 5:49 PM|
-1 really doesn't mean anything, there's a place for an HTTP status code in the message and -1 is what shows up when there is no HTTP status code to show. The logging could definitely be better. In the "too big of a resource" case, the write to the disk cache is what fails.
10k resources... that is a sizable number, it should be ok but i've never actually loaded up an appcache with that many resources. I will do so next week and let you know how it goes.
You do seem to be pushing the limits a bit. As a practical matter, Firefox , Safari, and Chrome will have different constraints.
|Re: Application Cache Error Codes||Matt Cook||3/29/13 9:26 AM|
Has any progress been made on modifying these limits? I also have an app that uses 100-200mb videos files. Would be great to at minimum have a browser flag to up the limits.
|Re: Application Cache Error Codes||Erica Grimaldi||11/22/13 8:07 AM|
My team is working on a project that requires very large amounts images to be saved to the chrome application cache, so far we have tested it with 4.1GB (120 x 9MB and 120 x 27MB) and this had presented no issues. But it clearly exceeds the 260MB limit mentioned my Michael Nordman in April 2011.
While it's clear that the limits have been significantly upped, we'd love to know what the actual limits are if any, so that we can plan accordingly before hitting them.
|Re: [chromium-html5] Re: Application Cache Error Codes||Michael Nordman||11/22/13 3:58 PM|
Any changes to the limits would be the result of changes to the net library and its DiskCache classes.