Performance issue in GT Metrix

Dear all,

When testing one of my important links in my website in GT Metrix:

one of GT metrix issues that affects website speed was:

  • Minify JavaScript and CSS

There are 7 components that can be minified

Keeping in mind that I have already enabled “Auto minify” extension.

another issue appeared:

  • Leverage browser caching
    Leverage browser caching for the following cacheable resources:

last related issue was:

  • Add Expires headers
    There are 5 static components without a far-future expiration date.

although I added all expires headers in my .htaccess file in the root directory as follows:


ExpiresActive On

Images

ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType image/webp “access plus 1 year”
ExpiresByType image/svg+xml “access plus 1 year”
ExpiresByType image/x-icon “access plus 1 year”

Video

ExpiresByType video/webm “access plus 1 year”
ExpiresByType video/mp4 “access plus 1 year”
ExpiresByType video/mpeg “access plus 1 year”

Fonts

ExpiresByType font/ttf “access plus 1 year”
ExpiresByType font/otf “access plus 1 year”
ExpiresByType font/woff “access plus 1 year”
ExpiresByType font/woff2 “access plus 1 year”
ExpiresByType application/font-woff “access plus 1 year”

CSS, JavaScript

ExpiresByType text/css “access plus 1 month”
ExpiresByType text/javascript “access plus 1 month”
ExpiresByType application/javascript “access plus 1 month”

Others

ExpiresByType application/pdf “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/vnd.microsoft.icon “access plus 1 year”

please advise
Best regards

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.