Abstract
Web pages are nowadays usually built with a variety of different tools, frameworks, and generated code. The structure and size of the resulting HTML, CSS, and JavaScript code highly influence the time for page load, and related energy consumption. However, no large-scale baseline data exists about the efficiency of the resulting page code, e.g., what amount of the code is actually used, or if code parts must be render-blocking. Furthermore, existing examinations analyze page code structure but do not investigate the potential impact on code efficiency if parts of the code would be optimized. In this paper, the top 10,000 web pages worldwide using the Tranco list were analyzed in-depth. Aspects with the highest impact on structure or performance are evaluated in detail and set into context regarding used techniques, frameworks, code efficiency, and differences in the delivered desktop- and mobile versions. The results showed that the vast majority (over 70% for JavaScript and \(\approx \)90% CSS) of externally loaded resources (both JavaScript and CSS) are loaded as render-blocking code. On average, only \(\approx \)40% of render-blocking JavaScript and \(\approx \)15% of CSS are used until page render, which unveils a significant potential for performance improvements for most analyzed websites.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
AliasIO: Github - Wappalyzer, October 2021. https://github.com/AliasIO/Wappalyzer. Accessed 14 Oct 2021
Archive, H.: HTTP Archive, July 2021. https://httparchive.org/reports/state-of-the-web. Accessed 5 Oct 2021
Chamberland-Thibeault, X., Hallé, S.: Structural profiling of web sites in the wild. In: Bielikova, M., Mikkonen, T., Pautasso, C. (eds.) ICWE 2020. LNCS, vol. 12128, pp. 27–34. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-50578-3_3
Maurer, M.E., Hausen, D., De Luca, A., Hussmann, H.: Mobile or desktop websites? Website usage on multitouch devices. In: Proceedings of the 6th Nordic Conference on Human-Computer Interaction: Extending Boundaries, pp. 739–742 (2010)
MDN: The External Resource Link element - HTML: HyperText Markup Language \(\vert \) MDN, October 2021. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link. Accessed 16 Oct 2021
Pochat, V.L., Van Goethem, T., Tajalizadehkhoob, S., Korczyński, M., Joosen, W.: Tranco: a research-oriented top sites ranking hardened against manipulation. arXiv preprint arXiv:1806.01156 (2018)
Statista: Most used web frameworks among developers 2021 \(\vert \) Statista, October 2021. https://www.statista.com/statistics/1124699/worldwide-developer-survey-most-used-frameworks-web. Accessed 15 Oct 2021
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this paper
Cite this paper
Vogel, L., Springer, T. (2022). An In-Depth Analysis of Web Page Structure and Efficiency with Focus on Optimization Potential for Initial Page Load. In: Di Noia, T., Ko, IY., Schedl, M., Ardito, C. (eds) Web Engineering. ICWE 2022. Lecture Notes in Computer Science, vol 13362. Springer, Cham. https://doi.org/10.1007/978-3-031-09917-5_7
Download citation
DOI: https://doi.org/10.1007/978-3-031-09917-5_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-09916-8
Online ISBN: 978-3-031-09917-5
eBook Packages: Computer ScienceComputer Science (R0)