Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
14 views3 pages

Performance Site

comparatif and description of some of the best Leverage browser caching

Uploaded by

Amina Lee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Performance Site

comparatif and description of some of the best Leverage browser caching

Uploaded by

Amina Lee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

PageSpeed

Leverage browser caching


Htaccess

Tuto : https://varvy.com/pagespeed/leverage-browser-caching.html

Combine images using CSS sprites


Imagine you have six images being used by your main webpage design and the
browser has to download them individually. If they were combined into just one
image, you could reduce the page speed dramatically. This reduces the round trips
required to display your page, making your site faster.

Instead of downloading six images, your webpage would now only have to download
one

Tuto : https://varvy.com/pagespeed/combine-images-css-sprites.html

Serve resources from a consistent URL


the issue with inconsistent URLs is caused by resources, such as images, shared by
multiple subdomains or linked sites.

Serve scaled images


Tuto : http://www.metacdn.com/speed-up-wordpress/serve-scaled-images

Optimize images
Install extension

Remove query strings from static resources


However, not all query strings are created equal. Some can and will be removed,
some could possibly, but will not be removed for safety reasons, and some cannot be
removed without breaking your website.

Yslow

Add Expires headers


Htaccess

Use a Content Delivery Network (CDN) ->plugin


Description
A content delivery network (CDN) is a network of distributed edge servers, which
accelerate your content around the globe. The main benefits of a CDN are scalability,
reliability and performance. The CDN Enabler plugin helps you to quickly and easily
integrate a CDN in WordPress.

Use cookie-free domains


Edit wp-config file with:
define("WP_CONTENT_URL", "http://static.yourdomain.com");
define("COOKIE_DOMAIN", "http://www.yourdomain.com");
Tuto : https://www.quora.com/How-do-I-use-a-cookie-free-domain-in-WordPress
Rq : j’ai verifié notre fichier ne contient pas ces instructions.

Minify JavaScript and CSS


Minifying your code removes:

 White space characters


 New line characters
 Comments
 Block delimiters
Tuto : http://www.wpbeginner.com/plugins/how-to-minify-css-javascript-files-in-
wordpress/

Reduce DNS lookups


To Reduce DNS lookups you need to remove the external website resources linking
to your site.

For example if you have js/css resources coming from Bootstrap that amounts to 1
extra DNS lookup and to reduce that you simply need to host those files on your
website itself.

Tuto : https://pagespeedoptimization.wordpress.com/2016/11/06/reduce-dns-
lookups/

You might also like