We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68415d7 commit c9818eaCopy full SHA for c9818ea
js/obs.speedcurve.js
@@ -40,11 +40,11 @@
40
41
if (!navigation) return;
42
43
- const { encodedBodySize } = navigation;
+ const { transferSize } = navigation;
44
45
- if (encodedBodySize === 0) {
+ if (transferSize === 0) {
46
LUX.addData('fromCache', true);
47
- } else if (encodedBodySize > 0) {
+ } else if (transferSize > 0) {
48
LUX.addData('fromCache', false);
49
}
50
0 commit comments