我最近添加的流星appcache
包,因爲我有以下錯誤信息:如何調查什麼是在流星應用程序緩存
** You are using the appcache package but the total size of the
** cached resources is 7.6MB.
**
** This is over the recommended maximum of 5 MB and may break your
** app in some browsers! See http://docs.meteor.com/#appcache
** for more information and fixes.
這是很難相信,我的腳本有大小,我/public
是完全空的。在Firefox中,我去了about:cache
並查看了appcache
- 但我只看到了我的腳本文件,儘管它可能包含了同一文件的過時版本。 [搜索localhost:3000/packages/jquery.js
產生了兩個結果,具有不同的ID。]沒有腳本文件大於200KB,因此我幾乎無法想象達到了7.6MB。
這是唯一的開發相關,如果不是,我怎麼能看到流星在Appcache中放入的尺寸是多少?
的應用程序緩存軟件包當前有些壞了,你可能會發現這種閱讀興趣:https://groups.google.com/forum/#!topic/meteor-core/tFXZkhIWeKk – saimeunt 2014-10-03 16:40:07