@predy-js/render-interface 0.3.0-beta.242 → 0.3.0-beta.244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/statistic.js
CHANGED
@@ -13,7 +13,9 @@ export interface PredyRequestOptions {
|
|
13
13
|
export declare enum PredyResourceCacheStatus {
|
14
14
|
noCache = 0,
|
15
15
|
cached = 1,
|
16
|
-
preloaded = 2
|
16
|
+
preloaded = 2,
|
17
|
+
hitCDN = 3,
|
18
|
+
missCDN = 4
|
17
19
|
}
|
18
20
|
export interface PredyRequestResponse {
|
19
21
|
data: ArrayBuffer | string;
|
package/package.json
CHANGED
@@ -21,6 +21,8 @@ export enum PredyResourceCacheStatus {
|
|
21
21
|
noCache = 0, // 没有缓存,走网络请求
|
22
22
|
cached = 1, // 命中缓存,如果请求同一个url,在关闭APP之前,一定会命中缓存,关闭APP后,清理时间由系统决定
|
23
23
|
preloaded = 2, // 命中预推
|
24
|
+
hitCDN = 3, // 从正常CDN加载
|
25
|
+
missCDN = 4, // CDN异常加载(回源)
|
24
26
|
}
|
25
27
|
|
26
28
|
export interface PredyRequestResponse {
|