Skip to main content

An In-Depth Analysis of Web Page Structure and Efficiency with Focus on Optimization Potential for Initial Page Load

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13362))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    https://www.breitband-monitor.de/funkloch/karte.

  2. 2.

    reactjs.org, angular.io.

  3. 3.

    wappalyzer.com/technologies.

  4. 4.

    webpagetest.org.

  5. 5.

    https://html.spec.whatwg.org/multipage/links.html.

  6. 6.

    github.com/puppeteer.

  7. 7.

    html.spec.whatwg.org.

  8. 8.

    npmjs.com/package/critical.

References

  1. AliasIO: Github - Wappalyzer, October 2021. https://github.com/AliasIO/Wappalyzer. Accessed 14 Oct 2021

  2. Archive, H.: HTTP Archive, July 2021. https://httparchive.org/reports/state-of-the-web. Accessed 5 Oct 2021

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

    Chapter  Google Scholar 

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

    Google Scholar 

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

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

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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lucas Vogel .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics