Enable gzip compression
https://codex.wordpress.org/Output_Compression
Optimising Wordpress for Page Speed in 15 Minutes
https://www.youtube.com/watch?v=UpvuJxFc_8o
How to Remove WordPress Header Junk
https://github.com/cferdinandi/gmt-remove-header-junk
https://devcereal.com/remove-wordpress-header-junk/
leverage browser caching wordpress
# Expires Caching Start #
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/x-icon "access 1 year"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresDefault "access 1 month"
</IfModule>
# Expires Caching End #
Defer Parsing Javascript in WordPress
// Defer Javascripts
// Defer jQuery Parsing using the HTML5 defer property
if (!(is_admin() )) {
function defer_parsing_of_js ( $url ) {
if ( FALSE === strpos( $url, '.js' ) ) return $url;
if ( strpos( $url, 'jquery.js' ) ) return $url;
// return "$url' defer ";
return "$url' defer onload='";
}
add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
}
Wordpress plugins to increase site speed by 400%
https://www.youtube.com/watch?v=PQjGiXCs8IE&spfreload=5
https://wordpress.org/plugins/w3-total-cache/
Smush Image Compression and Optimization
https://wordpress.org/plugins/wp-smushit/
https://wordpress.org/plugins/wp-optimize/
https://wordpress.org/plugins/regenerate-thumbnails/ doc