Report Summary

  • 18

    Performance

    Renders faster than
    34% of other websites

  • 100

    Accessibility

    Visual factors better than
    that of 97% of websites

  • 92

    Best Practices

    More advanced features
    available than in
    80% of websites

  • 100

    SEO

    Google-friendlier than
    94% of websites

php-tricks.com

PHP Tricks - Few codes to visualise your imagination

Page Load Speed

6.7 sec in total

First Response

703 ms

Resources Loaded

4 sec

Page Rendered

2 sec

About Website

Click here to check amazing PHP Tricks content. Otherwise, check out these important facts you probably never knew about php-tricks.com

PHP Tricks is a web based tutorial website developed and maintained by Ashutosh Pratap. PHP Tricks provides all kind of Code Tricks, Tips and Techniques for HTML, CSS, PHP, WordPress, JavaScript, Mage...

Visit php-tricks.com

Key Findings

We analyzed Php-tricks.com page load time and found that the first response time was 703 ms and then it took 6 sec to load all DOM resources and completely render a web page. This is a poor result, as 80% of websites can load faster.

Performance Metrics

php-tricks.com performance score

18

Measured Metrics

name

value

score

weighting

FCP (First Contentful Paint)

Value6.6 s

2/100

10%

LCP (Largest Contentful Paint)

Value6.6 s

8/100

25%

SI (Speed Index)

Value10.8 s

6/100

10%

TBT (Total Blocking Time)

Value12,130 ms

0/100

30%

CLS (Cumulative Layout Shift)

Value0

100/100

15%

TTI (Time to Interactive)

Value20.8 s

2/100

10%

Network Requests Diagram

www.php-tricks.com

703 ms

wp-emoji-release.min.js

112 ms

style.min.css

222 ms

theme.min.css

221 ms

styles.css

226 ms

Our browser made a total of 49 requests to load all elements on the main page. We found that 96% of them (47 requests) were addressed to the original Php-tricks.com, 2% (1 request) were made to Google.com and 2% (1 request) were made to Gstatic.com. The less responsive or slowest element that took the longest time to load (891 ms) belongs to the original domain Php-tricks.com.

Page Optimization Overview & Recommendations

Page size can be reduced by 186.5 kB (17%)

Content Size

1.1 MB

After Optimization

880.6 kB

In fact, the total size of Php-tricks.com main page is 1.1 MB. This result falls beyond the top 1M of websites and identifies a large and not optimized web page that may take ages to load. 65% of websites need less resources to load. Images take 894.3 kB which makes up the majority of the site volume.

HTML Optimization

-83%

Potential reduce by 61.3 kB

  • Original 73.5 kB
  • After minification 70.0 kB
  • After compression 12.1 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 61.3 kB or 83% of the original size.

Image Optimization

-13%

Potential reduce by 116.2 kB

  • Original 894.3 kB
  • After minification 778.1 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, PHP Tricks needs image optimization as it can save up to 116.2 kB or 13% of the original volume. The most popular and efficient tools for JPEG and PNG image optimization are Jpegoptim and PNG Crush.

JavaScript Optimization

-3%

Potential reduce by 1.4 kB

  • Original 48.8 kB
  • After minification 48.8 kB
  • After compression 47.4 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. This website has mostly compressed JavaScripts.

CSS Optimization

-15%

Potential reduce by 7.6 kB

  • Original 50.6 kB
  • After minification 50.6 kB
  • After compression 43.0 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. Php-tricks.com needs all CSS files to be minified and compressed as it can save up to 7.6 kB or 15% of the original size.

Requests Breakdown

Number of requests can be reduced by 27 (56%)

Requests Now

48

After Optimization

21

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

Accessibility Review

php-tricks.com accessibility score

100

Accessibility Issues

Best Practices

php-tricks.com best practices score

92

Areas of Improvement

Trust and Safety

Impact

Issue

High

Does not use HTTPS

Low

Ensure CSP is effective against XSS attacks

General

Impact

Issue

Low

Detected JavaScript libraries

SEO Factors

php-tricks.com SEO score

100

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

Language and Encoding

  • Language Detected

    EN

  • Language Claimed

    EN

  • Encoding

    UTF-8

Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Php-tricks.com can be misinterpreted by Google and other search engines. Our service has detected that English is used on the page, and it matches the claimed language. Our system also found out that Php-tricks.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 data is detected on the main page of PHP Tricks. This is the best way to make the web page social media friendly. Here is how it looks like on Facebook: