HTML5 Manifest是否有大小限制? [英] Is there a size limit for HTML5 Manifest?
问题描述
我一直在研究HTML5清单,但我不清楚是否有使用清单进行缓存的文件大小限制。
例如,如果我想让多个音频文件脱机可用,这可以通过使用清单来实现吗?或者它真的只适用于小图片和文字?
据我所知规范未指定对象或整个缓存的最大大小,但是例如Firefox默认情况下允许总共50MB的缓存文件。这意味着高速缓存确实针对小文件(html,css,js,图像)进行了优化,而不是针对大文件(视频,音频......)进行优化。
I have been looking into HTML5 manifest but I am unclear as to whether or not there is file size limit for caching using the manifest.
For example if i wanted to make several audio files available offline would this be achieved using manifest? or is it really only for small images and text?
as far as i know the spec doesn't specify a maximum size for an object or for the entire cache, but e.g. firefox has a preference which by default allows a total of 50mb worth of cache-files. that implies that indeed the cache is optimized for small files (html, css, js, images) and not for big files (video, audio, ...).
这篇关于HTML5 Manifest是否有大小限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!