Evaluating the impact of caching on the energy consumption and performance of progressive web apps

Ivano Malavolta, Katerina Chinnappan, Lukas Jasmontas, Sarthak Gupta, Kaveh Ali Karam Soltany

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

576 Downloads (Pure)

Abstract

Context. Since today mobile devices have limited battery life, the energy consumption of the software running on them can play a strong role with respect to the success of mobile-based businesses. Progressive Web Applications (PWAs) are built using common web technologies like HTML, CSS, and JavaScript and are commonly used for providing a better user experience to mobile users. Caching is the main technique used by PWA developers for optimizing network usage and for providing a meaningful experience even when the user's device is offline. Goal. This paper aims at assessing the impact of caching on both the energy consumption and performance of PWAs. Method. We conducted an empirical experiment targeting 9 real PWAs developed by third-party developers. The experiment is designed as a 1 factor-2 treatments study, with the usage of caching as the single factor and the status of the cache as treatments (empty vs populated cache). The response variables of the experiment are (i) the energy consumption of the mobile device and (ii) the page load time of the PWAs. The experiment is executed on a real Android device running the Mozilla Firefox browser. Results. Our results show that PWAs do not consume significantly different amounts of energy when loaded either with an empty or populated cache. However, the page load time of PWAs is significantly lower when the cache is already populated, with a medium effect size. Conclusions. This study confirms that PWAs are promising in terms of energy consumption and provides evidence that caching can be safely exploited by PWA developers concerned with energy consumption. The study provides also empirical evidence that caching is an effective technique for improving the user experience in terms of page loading time of PWAs.

Original languageEnglish
Title of host publicationMOBILESoft '20
Subtitle of host publicationProceedings of the IEEE/ACM 7th International Conference on Mobile Software Engineering and Systems
PublisherAssociation for Computing Machinery, Inc
Pages109-119
Number of pages11
ISBN (Electronic)9781450379595
DOIs
Publication statusPublished - Jul 2020
Event7th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020 - Virtual, Online, Korea, Republic of
Duration: 13 Jul 2020 → …

Conference

Conference7th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020
Country/TerritoryKorea, Republic of
CityVirtual, Online
Period13/07/20 → …

Fingerprint

Dive into the research topics of 'Evaluating the impact of caching on the energy consumption and performance of progressive web apps'. Together they form a unique fingerprint.

Cite this