Page size and load time is high

Posted in: Newspaper
Post count: 13

Hi,

I tried optimizing the theme with a page speed algorithm but it doesn’t seem to work.

https://gtmetrix.com/reports/gadgetnote.com/GKCpMkV0

Any thoughts?

Post count: 555

Put this code in the bottom of ur .htaccess

# END WordPress

AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff

# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 2500000 seconds”
ExpiresByType image/jpeg “access plus 2500000 seconds”
ExpiresByType image/png “access plus 2500000 seconds”
ExpiresByType image/gif “access plus 2500000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2500000 seconds”
ExpiresByType text/css “access plus 700000 seconds”
ExpiresByType text/javascript “access plus 700000 seconds”
ExpiresByType application/javascript “access plus 700000 seconds”
ExpiresByType application/x-javascript “access plus 700000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
ExpiresByType font/truetype “access plus 2500000 seconds”
ExpiresByType font/opentype “access plus 2500000 seconds”
ExpiresByType application/x-font-woff “access plus 2500000 seconds”
ExpiresByType image/svg+xml “access plus 2500000 seconds”
ExpiresByType application/vnd.ms-fontobject “access plus 2500000 seconds”
</IfModule>
# END Expire headers

  • This reply was modified 10 years by Steven.
  • This reply was modified 10 years by Steven.
Post count: 555

Now you need to “Optimize images” get this plugin https://wordpress.org/plugins/ewww-image-optimizer/

For more info go to Chris topic… https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/

  • This reply was modified 10 years by Steven.
  • This reply was modified 10 years by Steven.
Post count: 13

Something wrong with your .htaccess code, I get 500 error when I add that.

Post count: 555

here the same code again..

# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers

Post count: 13

Still no improvement.

I don’t have the problem with image size when I use other themes.

I had optimized my previous theme for score of 98 in GTmetrix.

Post count: 7909

Hi,

Please check this guide to set the leverage cache and optimize images – https://forum.tagdiv.com/how-to-make-the-site-faster/ also the Christopher topic may help – https://forum.tagdiv.com/topic/tutorial-pagespeed-2015/

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.