To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification

06/20/2021
by   Moumena Chaqfeh, et al.
0

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 compared to the original pages, and more than 30 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 while maintaining 90 pages. Finally, the SlimWeb classifier achieves a median accuracy of 90 predicting the JavaScript category.

READ FULL TEXT
research
06/26/2021

JSAnalyzer: A Web Developer Tool for Simplifying Mobile Pages Through JavaScript Optimizations

The amount of JavaScript embedded in Web pages has substantially grown i...
research
02/15/2021

Browselite: A Private Data Saving Solution for the Web

The median webpage has increased in size by more than 80 years. This ext...
research
04/19/2023

WASEF: Web Acceleration Solutions Evaluation Framework

The World Wide Web has become increasingly complex in recent years. This...
research
01/18/2023

QButterfly: Lightweight Survey Extension for Online User Interaction Studies for Non-Tech-Savvy Researchers

We provide a user-friendly, flexible, and lightweight open-source HCI to...
research
11/08/2018

SpeedReader: Reader Mode Made Fast and Private

Most popular web browsers include "reader modes" that improve the user e...
research
01/01/2022

Usability and Aesthetics: Better Together for Automated Repair of Web Pages

With the recent explosive growth of mobile devices such as smartphones o...
research
01/30/2023

WebUI: A Dataset for Enhancing Visual UI Understanding with Web Semantics

Modeling user interfaces (UIs) from visual information allows systems to...

Please sign up or login with your details

Forgot password? Click here to reset