Report Summary

  • 60

    Performance

    Renders faster than
    76% of other websites

  • 85

    Accessibility

    Visual factors better than
    that of 60% of websites

  • 83

    Best Practices

    More advanced features
    available than in
    56% of websites

  • 88

    SEO

    Google-friendlier than
    66% of websites

docs.scala-lang.org

Learn Scala | Scala Documentation

Page Load Speed

782 ms in total

First Response

89 ms

Resources Loaded

545 ms

Page Rendered

148 ms

docs.scala-lang.org screenshot

About Website

Click here to check amazing Docs Scala Lang content for China. Otherwise, check out these important facts you probably never knew about docs.scala-lang.org

Visit docs.scala-lang.org

Key Findings

We analyzed Docs.scala-lang.org page load time and found that the first response time was 89 ms and then it took 693 ms to load all DOM resources and completely render a web page. This is quite a good result, as only 10% of websites can load faster.

Performance Metrics

docs.scala-lang.org performance score

60

Measured Metrics

name

value

score

weighting

FCP (First Contentful Paint)

Value3.6 s

31/100

10%

LCP (Largest Contentful Paint)

Value5.3 s

22/100

25%

SI (Speed Index)

Value4.8 s

66/100

10%

TBT (Total Blocking Time)

Value300 ms

78/100

30%

CLS (Cumulative Layout Shift)

Value0.001

100/100

15%

TTI (Time to Interactive)

Value6.2 s

62/100

10%

Network Requests Diagram

docs.scala-lang.org

89 ms

prettify.css

33 ms

prettify.js

57 ms

jquery.js

72 ms

bootstrap.css

52 ms

Our browser made a total of 31 requests to load all elements on the main page. We found that 61% of them (19 requests) were addressed to the original Docs.scala-lang.org, 16% (5 requests) were made to A.disquscdn.com and 6% (2 requests) were made to Cdn.jsdelivr.net. The less responsive or slowest element that took the longest time to load (347 ms) belongs to the original domain Docs.scala-lang.org.

Page Optimization Overview & Recommendations

Page size can be reduced by 123.0 kB (50%)

Content Size

247.2 kB

After Optimization

124.3 kB

In fact, the total size of Docs.scala-lang.org main page is 247.2 kB. This result falls beyond the top 1M of websites and identifies a large and not optimized web page that may take ages to load. 25% of websites need less resources to load. Images take 142.3 kB which makes up the majority of the site volume.

HTML Optimization

-72%

Potential reduce by 16.6 kB

  • Original 22.9 kB
  • After minification 21.3 kB
  • After compression 6.4 kB

HTML content can be minified and compressed by a website’s server. The most efficient way is to compress content using GZIP which reduces data amount travelling through the network between server and browser. HTML code on this page is well minified. It is highly recommended that content of this web page should be compressed using GZIP, as it can save up to 16.6 kB or 72% of the original size.

Image Optimization

-38%

Potential reduce by 54.3 kB

  • Original 142.3 kB
  • After minification 88.0 kB

Image size optimization can help to speed up a website loading time. The chart above shows the difference between the size before and after optimization. Obviously, Docs Scala Lang needs image optimization as it can save up to 54.3 kB or 38% of the original volume. The most popular and efficient tools for JPEG and PNG image optimization are Jpegoptim and PNG Crush.

JavaScript Optimization

-31%

Potential reduce by 9.1 kB

  • Original 29.2 kB
  • After minification 27.5 kB
  • After compression 20.0 kB

It’s better to minify JavaScript in order to improve website performance. The diagram shows the current total size of all JavaScript files against the prospective JavaScript size after its minification and compression. It is highly recommended that all JavaScript files should be compressed and minified as it can save up to 9.1 kB or 31% of the original size.

CSS Optimization

-81%

Potential reduce by 42.9 kB

  • Original 52.8 kB
  • After minification 48.3 kB
  • After compression 9.8 kB

CSS files minification is very important to reduce a web page rendering time. The faster CSS files can load, the earlier a page can be rendered. Docs.scala-lang.org needs all CSS files to be minified and compressed as it can save up to 42.9 kB or 81% of the original size.

Requests Breakdown

Number of requests can be reduced by 15 (50%)

Requests Now

30

After Optimization

15

The browser has sent 30 CSS, Javascripts, AJAX and image requests in order to completely render the main page of Docs Scala Lang. We recommend that multiple CSS and JavaScript files should be merged into one by each type, as it can help reduce assets requests from 11 to 1 for JavaScripts and from 6 to 1 for CSS and as a result speed up the page load time.

Accessibility Review

docs.scala-lang.org accessibility score

85

Accessibility Issues

ARIA

These are opportunities to improve the usage of ARIA in your application which may enhance the experience for users of assistive technology, like a screen reader.

Impact

Issue

High

Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children.

Contrast

These are opportunities to improve the legibility of your content.

Impact

Issue

High

Background and foreground colors do not have a sufficient contrast ratio.

Navigation

These are opportunities to improve keyboard navigation in your application.

Impact

Issue

High

Heading elements are not in a sequentially-descending order

Internationalization and localization

These are opportunities to improve the interpretation of your content by users in different locales.

Impact

Issue

High

<html> element does not have a [lang] attribute

Names and labels

These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.

Impact

Issue

High

Links do not have a discernible name

Best Practices

docs.scala-lang.org best practices score

83

Areas of Improvement

Trust and Safety

Impact

Issue

High

Does not use HTTPS

High

Includes front-end JavaScript libraries with known security vulnerabilities

Low

Ensure CSP is effective against XSS attacks

General

Impact

Issue

Low

Detected JavaScript libraries

SEO Factors

docs.scala-lang.org SEO score

88

Search Engine Optimization Advices

Mobile Friendly

Make sure your pages are mobile friendly so users don’t have to pinch or zoom in order to read the content pages. [Learn more](https://developers.google.com/search/mobile-sites/).

Impact

Issue

High

Document uses legible font sizes

High

Tap targets are not sized appropriately

Language and Encoding

  • Language Detected

    EN

  • Language Claimed

    N/A

  • Encoding

    UTF-8

Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Docs.scala-lang.org can be misinterpreted by Google and other search engines. Our service has detected that English is used on the page, and neither this language nor any other was claimed in <html> or <meta> tags. Our system also found out that Docs.scala-lang.org main page’s claimed encoding is utf-8. Use of this encoding format is the best practice as the main page visitors from all over the world won’t have any issues with symbol transcription.

Social Sharing Optimization

Open Graph description is not detected on the main page of Docs Scala Lang. Lack of Open Graph description can be counter-productive for their social media presence, as such a description allows converting a website homepage (or other pages) into good-looking, rich and well-structured posts, when it is being shared on Facebook and other social media. For example, adding the following code snippet into HTML <head> tag will help to represent this web page correctly in social networks: