diff --git a/packages/venia-concept/src/ServiceWorker/Utilities/networkUtils.js b/packages/venia-concept/src/ServiceWorker/Utilities/networkUtils.js index 29de8d7f43..ad92909682 100644 --- a/packages/venia-concept/src/ServiceWorker/Utilities/networkUtils.js +++ b/packages/venia-concept/src/ServiceWorker/Utilities/networkUtils.js @@ -9,7 +9,11 @@ * @returns {boolean} */ export const isFastNetwork = () => { - if (navigator.connection && 'effectiveType' in navigator.connection) { + if ( + navigator.connection && + navigator.connection.saveData !== undefined && + navigator.connection.effectiveType !== undefined + ) { return navigator.connection.effectiveType === '4g'; } else { /**