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

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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chaqfeh, Moumena, Haseeb, Muhammad, Hashmi, Waleed, Inshuti, Patrick, Ramesh, Manesha, Varvello, Matteo, Zaffar, Fareed, Subramanian, Lakshmi, Zaki, Yasir
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Chaqfeh, Moumena
Haseeb, Muhammad
Hashmi, Waleed
Inshuti, Patrick
Ramesh, Manesha
Varvello, Matteo
Zaffar, Fareed
Subramanian, Lakshmi
Zaki, Yasir
description 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.
doi_str_mv 10.48550/arxiv.2106.13764
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2106_13764</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2106_13764</sourcerecordid><originalsourceid>FETCH-LOGICAL-a674-836e98ae7d485d2ab86dcbf4e2ab1784b29b2cfdafeaab9377494f73d80335eb3</originalsourceid><addsrcrecordid>eNotj8tOwzAURL1hgQofwIr7AwlJ7MQOuxJRHioUiUgso-tXYmHqygkV_XtC6WpmFjOaQ8hVnqVMlGV2g_HH7dMiz6o0p7xi50S3Ae58UJ8QIryGCaZTvoWlUsabiJPb9vASpPMGPoyEN-zNCJtt0g4mWfkDtEMM3_0Az7jHdxXdboLG4zg669TcDtsLcmbRj-bypAvSru7b5jFZbx6emuU6wYqzRNDK1AIN1_NZXaAUlVbSMjPbnAsmi1oWymq0BlHWlHNWM8upFhmlpZF0Qa7_Z4-Y3S66L4yH7g-3O-LSX1A1UGQ</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification</title><source>arXiv.org</source><creator>Chaqfeh, Moumena ; Haseeb, Muhammad ; Hashmi, Waleed ; Inshuti, Patrick ; Ramesh, Manesha ; Varvello, Matteo ; Zaffar, Fareed ; Subramanian, Lakshmi ; Zaki, Yasir</creator><creatorcontrib>Chaqfeh, Moumena ; Haseeb, Muhammad ; Hashmi, Waleed ; Inshuti, Patrick ; Ramesh, Manesha ; Varvello, Matteo ; Zaffar, Fareed ; Subramanian, Lakshmi ; Zaki, Yasir</creatorcontrib><description>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.</description><identifier>DOI: 10.48550/arxiv.2106.13764</identifier><language>eng</language><subject>Computer Science - Other Computer Science</subject><creationdate>2021-06</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2106.13764$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2106.13764$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Chaqfeh, Moumena</creatorcontrib><creatorcontrib>Haseeb, Muhammad</creatorcontrib><creatorcontrib>Hashmi, Waleed</creatorcontrib><creatorcontrib>Inshuti, Patrick</creatorcontrib><creatorcontrib>Ramesh, Manesha</creatorcontrib><creatorcontrib>Varvello, Matteo</creatorcontrib><creatorcontrib>Zaffar, Fareed</creatorcontrib><creatorcontrib>Subramanian, Lakshmi</creatorcontrib><creatorcontrib>Zaki, Yasir</creatorcontrib><title>To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification</title><description>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.</description><subject>Computer Science - Other Computer Science</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj8tOwzAURL1hgQofwIr7AwlJ7MQOuxJRHioUiUgso-tXYmHqygkV_XtC6WpmFjOaQ8hVnqVMlGV2g_HH7dMiz6o0p7xi50S3Ae58UJ8QIryGCaZTvoWlUsabiJPb9vASpPMGPoyEN-zNCJtt0g4mWfkDtEMM3_0Az7jHdxXdboLG4zg669TcDtsLcmbRj-bypAvSru7b5jFZbx6emuU6wYqzRNDK1AIN1_NZXaAUlVbSMjPbnAsmi1oWymq0BlHWlHNWM8upFhmlpZF0Qa7_Z4-Y3S66L4yH7g-3O-LSX1A1UGQ</recordid><startdate>20210620</startdate><enddate>20210620</enddate><creator>Chaqfeh, Moumena</creator><creator>Haseeb, Muhammad</creator><creator>Hashmi, Waleed</creator><creator>Inshuti, Patrick</creator><creator>Ramesh, Manesha</creator><creator>Varvello, Matteo</creator><creator>Zaffar, Fareed</creator><creator>Subramanian, Lakshmi</creator><creator>Zaki, Yasir</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20210620</creationdate><title>To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification</title><author>Chaqfeh, Moumena ; Haseeb, Muhammad ; Hashmi, Waleed ; Inshuti, Patrick ; Ramesh, Manesha ; Varvello, Matteo ; Zaffar, Fareed ; Subramanian, Lakshmi ; Zaki, Yasir</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a674-836e98ae7d485d2ab86dcbf4e2ab1784b29b2cfdafeaab9377494f73d80335eb3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Computer Science - Other Computer Science</topic><toplevel>online_resources</toplevel><creatorcontrib>Chaqfeh, Moumena</creatorcontrib><creatorcontrib>Haseeb, Muhammad</creatorcontrib><creatorcontrib>Hashmi, Waleed</creatorcontrib><creatorcontrib>Inshuti, Patrick</creatorcontrib><creatorcontrib>Ramesh, Manesha</creatorcontrib><creatorcontrib>Varvello, Matteo</creatorcontrib><creatorcontrib>Zaffar, Fareed</creatorcontrib><creatorcontrib>Subramanian, Lakshmi</creatorcontrib><creatorcontrib>Zaki, Yasir</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Chaqfeh, Moumena</au><au>Haseeb, Muhammad</au><au>Hashmi, Waleed</au><au>Inshuti, Patrick</au><au>Ramesh, Manesha</au><au>Varvello, Matteo</au><au>Zaffar, Fareed</au><au>Subramanian, Lakshmi</au><au>Zaki, Yasir</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification</atitle><date>2021-06-20</date><risdate>2021</risdate><abstract>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.</abstract><doi>10.48550/arxiv.2106.13764</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2106.13764
ispartof
issn
language eng
recordid cdi_arxiv_primary_2106_13764
source arXiv.org
subjects Computer Science - Other Computer Science
title To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-28T18%3A51%3A34IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=To%20Block%20or%20Not%20to%20Block:%20Accelerating%20Mobile%20Web%20Pages%20On-The-Fly%20Through%20JavaScript%20Classification&rft.au=Chaqfeh,%20Moumena&rft.date=2021-06-20&rft_id=info:doi/10.48550/arxiv.2106.13764&rft_dat=%3Carxiv_GOX%3E2106_13764%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true