Analyze

docs.swagger.io: beautify thy api

Page load speed analysis

  • 94/100

    Good result
  • 6

    Successful tests
  • 2

    Failed tests
  • First response

    85 ms

  • Resources loaded

    185 ms

  • Page rendered

    171 ms

  • Total page load time

    441 ms

Click here to check amazing Docs Swagger content for United States. Otherwise, check out these important facts you probably never knew about docs.swagger.io

We analyzed Docs.swagger.io page load time and found that the first response time was 85 ms and then it took 356 ms to load all DOM resources and completely render a web page. This is an excellent result, as only a small number of websites can load faster.

Page optimization

  • HTML 9.3 kB
    Images 0 B
    Javascripts 59.3 kB
    CSS 100.0 kB

    In fact, the total size of Docs.swagger.io main page is 168.5 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. 30% of websites need less resources to load. CSS take 100.0 kB which makes up the majority of the site volume.

    • Original 9.3 kB
    • After minification 8.0 kB
    • After compression 2.5 kB

    HTML optimization

    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. This page needs HTML code to be minified as it can gain 1.3 kB, which is 14% of the original size. It is highly recommended that content of this web page should be compressed using GZIP, as it can save up to 6.7 kB or 73% of the original size.

    • Original 59.3 kB
    • After minification 59.3 kB
    • After compression 20.0 kB

    JavaScript optimization

    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 39.3 kB or 66% of the original size.

    • Original 100.0 kB
    • After minification 99.9 kB
    • After compression 17.1 kB

    CSS optimization

    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.swagger.io needs all CSS files to be minified and compressed as it can save up to 82.8 kB or 83% of the original size.

Network requests diagram

  • docs.swagger.io
  • bootstrap.min.css
  • bootstrap-simplex.min.css
  • main.css
  • highlight_js_solarized_dark.css
  • jquery-1.11.0.min.js
  • bootstrap.min.js
  • highlight.min.js
  • toc.js
  • main.js

Our browser made a total of 10 requests to load all elements on the main page. We found that 60% of them (6 requests) were addressed to the original Docs.swagger.io, 20% (2 requests) were made to Netdna.bootstrapcdn.com and 10% (1 request) were made to Code.jquery.com. The less responsive or slowest element that took the longest time to load (101 ms) belongs to the original domain Docs.swagger.io.

Additional info on docs.swagger.io

Requests

The browser has sent 4 CSS, Javascripts, AJAX and image requests in order to completely render the main page of Docs Swagger. According to our analytics all requests are already optimized.

3

Javascripts

1

CSS

4

All

Possible request optimization

3

Javascripts

1

CSS

0

Optimized

4

All

Good result

IP address

Docs.swagger.io uses IP addresses which are currently shared with 6 other domains. The more sites share the same stack of IP addresses, the higher the host server’s workload is. It is strongly recommended that the host server should be changed or the hosting provider should be requested to give a different (separate) IP address for this domain.

Normal result

IP Trace

docs.swagger.io

mozillalabs.com

rubyonrails.org

mono-project.com

hibernate.org

185.199.108.153

docs.swagger.io

mozillalabs.com

getontracks.org

mrdoob.com

mono-project.com

185.199.109.153

185.199.110.153

185.199.111.153

DNS records

Type Host Target/ip TTL Other
A

swagger-api.github.io

185.199.109.153 3595
A

swagger-api.github.io

185.199.111.153 3595
A

swagger-api.github.io

185.199.110.153 3595
A

swagger-api.github.io

185.199.108.153 3595
CNAME

docs.swagger.io

swagger-api.github.io 3595

Language and encoding

Normal result

Language

EN en language flag

Detected

N/A  language flag

Claimed

Encoding

UTF-8

Claimed

Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Docs.swagger.io 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.swagger.io 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.

HTTPS certificate

SSL Certificate

Docs.swagger.io has no SSL certificate. Web browsing can be safer with HTTPS connection, so we suggest that it should be obtained for this site.

Normal result

Visitor World Map

Country of origin for 21.4% of all visits is United States. It lies approximately 4640 miles away from the server location (Netherlands) and such a long distance can negatively affect website speed, as it takes some time for data to travel back and forth between those places. That’s why one of the best ways to speed up Docs.swagger.io page load time for the majority of users is moving the server to United States or just closer to the user base.

Poor result

Poor result

Social Sharing Optimization

Open Graph description is not detected on the main page of Docs Swagger. 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:

docs.swagger.io

Share this report in social media

Analyze another website

Analyze