Archived topic
Improving Y-Slowness Scores
2 replies · Started by Marc on March 17, 2019
Hi Support,
Please advise how I can achieve perfect A scores to address the following, attached a link for the GT Metrix report if that helps.
Thanks
Kesvel
P.S I have just Generate Press installed and removed the GP Premium plugin so barebones install.
https://gtmetrix.com/reports/www.authority.buzz/HJYO09B5
RECOMMENDATION GRADE TYPE PRIORITY
Add Expires headers
F (0)
SERVER HIGH
What's this mean?
There are 10 static components without a far-future expiration date.
https://fonts.googleapis.com/css?family=Open+Sans:300,regular,italic,600,700
https://www.authority.buzz/wp-includes/css/dist/block-library/style.min.css?ver=5.1.1
https://www.authority.buzz/wp-content/themes/generatepress/css/unsemantic-grid.min.css?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/style.min.css?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/css/mobile.min.css?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/js/menu.min.js?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/js/a11y.min.js?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/js/navigation-search.min.js?ver=2.2.2
https://www.authority.buzz/wp-includes/js/wp-embed.min.js?ver=5.1.1
https://www.authority.buzz/wp-includes/js/wp-emoji-release.min.js?ver=5.1.1
Use a Content Delivery Network (CDN)
F (10)
SERVER MEDIUM
What's this mean?
Using a CDN YSlow doesn't recognize? Specify your CDNs in your User Settings.
There are 9 static components that are not on CDN.
https://www.authority.buzz/wp-includes/css/dist/block-library/style.min.css?ver=5.1.1
https://www.authority.buzz/wp-content/themes/generatepress/css/unsemantic-grid.min.css?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/style.min.css?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/css/mobile.min.css?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/js/menu.min.js?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/js/a11y.min.js?ver=2.2.2
https://www.authority.buzz/wp-content/themes/generatepress/js/navigation-search.min.js?ver=2.2.2
https://www.authority.buzz/wp-includes/js/wp-embed.min.js?ver=5.1.1
https://www.authority.buzz/wp-includes/js/wp-emoji-release.min.js?ver=5.1.1
For "There are 10 static components without a far-future expiration date." use this code in your .htaccess file.
<IfModule mod_expires.c>
AddType application/font-woff2 .woff2
ExpiresActive On
ExpiresDefault A0
ExpiresByType video/webm A10368000
ExpiresByType video/ogg A10368000
ExpiresByType video/mp4 A10368000
ExpiresByType image/webp A10368000
ExpiresByType image/gif A10368000
ExpiresByType image/png A10368000
ExpiresByType image/jpg A10368000
ExpiresByType image/jpeg A10368000
ExpiresByType image/ico A10368000
ExpiresByType image/svg+xml A10368000
ExpiresByType text/css A10368000
ExpiresByType text/javascript A10368000
ExpiresByType application/javascript A10368000
ExpiresByType application/x-javascript A10368000
ExpiresByType application/font-woff2 A10368000
</IfModule>
For the CDN, you can either pay for options like MaxCDN or ignore if you cannot afford it. You can also use photon by jetpack for the images only CDN.
Great suggestions, epic! :)