Report Summary

  • 0

    Performance

  • 0

    Accessibility

  • 0

    Best Practices

  • 0

    SEO

layui.com

Layui - 经典开源模块化前端 UI 框架

Page Load Speed

33.1 sec in total

First Response

2.7 sec

Resources Loaded

28.8 sec

Page Rendered

1.6 sec

About Website

Welcome to layui.com homepage info - get ready to check Layui best content for China right away, or after learning these important things about layui.com

layui 是一套开源的 Web UI 解决方案,其内部采用的是自身经典的模块化规范,并遵循原生 HTML/CSS/JS 的开发方式,极易上手,拿来即用。其外在极简,却又不失饱满的内在,体积轻盈,组件丰盈,从核心代码到使用方法的每一处细节都经过精心雕琢,非常适合网页界面的快速开发。

Visit layui.com

Key Findings

We analyzed Layui.com page load time and found that the first response time was 2.7 sec and then it took 30.4 sec 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. Unfortunately, there was 1 request timeout, which can generally increase the web page load time, as the browser stays idle while waiting for website response.

Performance Metrics

layui.com performance score

0

Network Requests Diagram

layui.com

2692 ms

www.layui.com

1430 ms

layui.css

1723 ms

global.css

1825 ms

github-btn.html

73 ms

Our browser made a total of 19 requests to load all elements on the main page. We found that 11% of them (2 requests) were addressed to the original Layui.com, 53% (10 requests) were made to Res.layui.com and 5% (1 request) were made to Ghbtns.com. The less responsive or slowest element that took the longest time to load (20.1 sec) relates to the external source Res.layui.com.

Page Optimization Overview & Recommendations

Page size can be reduced by 9.3 kB (61%)

Content Size

15.3 kB

After Optimization

6.0 kB

In fact, the total size of Layui.com main page is 15.3 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. Only 5% of websites need less resources to load. Javascripts take 12.5 kB which makes up the majority of the site volume.

HTML Optimization

-54%

Potential reduce by 1.5 kB

  • Original 2.8 kB
  • After minification 2.6 kB
  • After compression 1.3 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 1.5 kB or 54% of the original size.

JavaScript Optimization

-62%

Potential reduce by 7.8 kB

  • Original 12.5 kB
  • After minification 12.5 kB
  • After compression 4.7 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 7.8 kB or 62% of the original size.

Requests Breakdown

Number of requests can be reduced by 5 (36%)

Requests Now

14

After Optimization

9

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

SEO Factors

layui.com SEO score

0

Language and Encoding

  • Language Detected

    ZH

  • Language Claimed

    N/A

  • Encoding

    UTF-8

Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Layui.com can be misinterpreted by Google and other search engines. Our service has detected that Chinese 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 Layui.com 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 Layui. 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: