当前位置: X-MOL 学术arXiv.cs.OH › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification
arXiv - CS - Other Computer Science Pub Date : 2021-06-20 , DOI: arxiv-2106.13764
Moumena Chaqfeh, Muhammad Haseeb, Waleed Hashmi, Patrick Inshuti, Manesha Ramesh, Matteo Varvello, Fareed Zaffar, Lakshmi Subramanian, Yasir Zaki

The increasing complexity of JavaScript in modern mobile web pages has become a critical performance bottleneck for low-end mobile phone users, especially in developing regions. In this paper, we propose SlimWeb, a novel approach that automatically derives lightweight versions of mobile web pages on-the-fly by eliminating the use of unnecessary JavaScript. SlimWeb consists of a JavaScript classification service powered by a supervised Machine Learning (ML) model that provides insights into each JavaScript element embedded in a web page. SlimWeb aims to improve the web browsing experience by predicting the class of each element, such that essential elements are preserved and non-essential elements are blocked by the browsers using the service. We motivate the core design of SlimWeb using a user preference survey of 306 users and perform a detailed evaluation of SlimWeb across 500 popular web pages in a developing region on real 3G and 4G cellular networks, along with a user experience study with 20 real-world users and a usage willingness survey of 588 users. Evaluation results show that SlimWeb achieves a 50% reduction in the page load time compared to the original pages, and more than 30% reduction compared to competing solutions, while achieving high similarity scores to the original pages measured via a qualitative evaluation study of 62 users. SlimWeb improves the overall user experience by more than 60% compared to the original pages, while maintaining 90%-100% of the visual and functional components of most pages. Finally, the SlimWeb classifier achieves a median accuracy of 90% in predicting the JavaScript category.

中文翻译:

阻止或不阻止:通过 JavaScript 分类即时加速移动网页

现代移动网页中 JavaScript 的日益复杂已成为低端手机用户的关键性能瓶颈,尤其是在发展中地区。在本文中,我们提出了 SlimWeb,这是一种新颖的方法,通过消除不必要的 JavaScript 的使用,动态地自动生成移动网页的轻量级版本。SlimWeb 由一个 JavaScript 分类服务组成,该服务由受监督的机器学习 (ML) 模型提供支持,该模型提供对嵌入在网页中的每个 JavaScript 元素的洞察。SlimWeb 旨在通过预测每个元素的类别来改善 Web 浏览体验,以便使用该服务的浏览器保留必要元素并阻止非必要元素。我们通过对 306 名用户的用户偏好调查来激发 SlimWeb 的核心设计,并在真实 3G 和 4G 蜂窝网络上的发展中地区的 500 个流行网页上对 SlimWeb 进行详细评估,以及对 20 个真实世界的用户体验研究用户和 588 个用户的使用意愿调查。评估结果表明,SlimWeb 与原始页面相比减少了 50% 的页面加载时间,与竞争解决方案相比减少了 30% 以上,同时通过对 62 位用户的定性评估研究测得的与原始页面的相似度得分很高. SlimWeb 与原始页面相比,整体用户体验提升了 60% 以上,同时保留了大多数页面 90%-100% 的视觉和功能组件。最后,
更新日期:2021-06-28
down
wechat
bug