Is there a size limit for HTML5 Manifest?

旧巷老猫 提交于 2019-11-28 04:09:34

问题


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?


回答1:


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, ...).



来源:https://stackoverflow.com/questions/2615021/is-there-a-size-limit-for-html5-manifest

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!