Analyze

opsi.gov.uk: Legislation.gov.uk

The official home of UK legislation, revised and as enacted 1267-present. This website is managed by The National Archives on behalf of HM Government. Publishing all UK legislation is a core part of t...

Page load speed analysis

  • 63/100

    Normal result
  • 6

    Successful tests
  • 2

    Failed tests
  • First response

    630 ms

  • Resources loaded

    5.7 sec

  • Page rendered

    5.6 sec

  • Total page load time

    11.9 sec

Welcome to opsi.gov.uk homepage info - get ready to check Opsi best content right away, or after learning these important things about opsi.gov.uk

We analyzed Opsi.gov.uk page load time and found that the first response time was 630 ms and then it took 11.3 sec to load all DOM resources and completely render a web page. This is a poor result, as 90% of websites can load faster.

Page optimization

  • HTML 12.3 kB
    Images 37.1 kB
    Javascripts 115.8 kB
    CSS 79.4 kB

    In fact, the total size of Opsi.gov.uk main page is 244.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. 25% of websites need less resources to load. Javascripts take 115.8 kB which makes up the majority of the site volume.

    • Original 12.3 kB
    • After minification 12.1 kB
    • After compression 3.3 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. 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 9.0 kB or 73% of the original size.

    • Original 37.1 kB
    • After optimization 31.2 kB

    Image optimization

    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, Opsi needs image optimization as it can save up to 5.8 kB or 16% of the original volume. The most popular and efficient tools for JPEG and PNG image optimization are Jpegoptim and PNG Crush.

    • Original 115.8 kB
    • After minification 101.6 kB
    • After compression 36.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 79.8 kB or 69% of the original size.

    • Original 79.4 kB
    • After minification 62.1 kB
    • After compression 12.5 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. Opsi.gov.uk needs all CSS files to be minified and compressed as it can save up to 66.9 kB or 84% of the original size.

Network requests diagram

  • opsi.gov.uk
  • www.legislation.gov.uk
  • screen.css
  • survey.css
  • jquery-1.6.2.js
  • CentralConfig.js
  • survey.js
  • homepageChrome.js
  • site_logo_legislation.gif
  • natArchTitle.gif
  • navBg.gif
  • navDivider.gif
  • activeHeaderLink.gif
  • home_form_shadow.gif
  • grey_button.gif
  • interfacebuttonSprites.gif
  • iconSprites.gif
  • welcome.jpg
  • homeButtonBgWelcome.gif
  • ogl-symbol.gif
  • feedback.png
  • print.css

Our browser made a total of 22 requests to load all elements on the main page. We found that 5% of them (1 request) were addressed to the original Opsi.gov.uk, 95% (21 requests) were made to Legislation.gov.uk. The less responsive or slowest element that took the longest time to load (1.1 sec) relates to the external source Legislation.gov.uk.

Additional info on opsi.gov.uk

Requests

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

4

Javascripts

13

Images

3

CSS

20

All

Possible request optimization

1

Javascripts

13

Images

3

CSS

3

Optimized

17

All

Good result

Redirects

As for redirects, our browser was forwarded to http://www.legislation.gov.uk before it reached this domain.

IP address

Opsi.gov.uk uses IP address which is currently shared with 3 other domains. The more sites share the same IP address, 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.

Poor result

IP Trace

opsi.gov.uk

statutelaw.gov.uk

hmso.gov.uk

oqps.gov.uk

3.248.62.94

18.203.43.136

DNS records

Type Host Target/ip TTL Other
A

opsi.gov.uk

18.203.43.136 300
A

opsi.gov.uk

3.248.62.94 300
NS

opsi.gov.uk

ns-1140.awsdns-14.org 300
NS

opsi.gov.uk

ns-1653.awsdns-14.co.uk 300
NS

opsi.gov.uk

ns-124.awsdns-15.com 300

Language and encoding

Normal result

Language

N/A  language flag

Detected

EN en language flag

Claimed

Encoding

UTF-8

Claimed

Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Opsi.gov.uk can be misinterpreted by Google and other search engines. Unfortunately we cannot identify language used on the page (probably there is a mix of languages, too little text or something else), while the claimed language is English. Our system also found out that Opsi.gov.uk 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

Opsi.gov.uk 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

The server of Opsi.gov.uk is located in United States, but, unfortunately, we cannot identify the countries where the visitors come from and thus it’s impossible to define if the distance can potentially affect the page load time.

Good result

Poor result

Social Sharing Optimization

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

opsi.gov.uk

Share this report in social media

Analyze another website

Analyze