How to reduce your site load time in WordPress?

By using different plugins, adding larger number of scripts in your theme and using larger images may lead in increasing the site load time. To avoid this we need to follow few steps.

1.Check your Hosting quality.
2.Use sprites for background images in Css.
3.Use Best and quality plugins.
4.Try to reduce external scripts running on the site.
5.Keep you custom scripts in footer.php.
6.Keep you main style sheet at top of all scripts and links.

Finally us this code, Paste this code in your site ".htaccess".

<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/html M3600
    ExpiresByType text/css M3600
    ExpiresByType application/x-javascript M3600
    ExpiresByType image/bmp M3600
    ExpiresByType image/gif M3600
    ExpiresByType image/x-icon M3600
    ExpiresByType image/jpeg M3600
</IfModule>

<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/css application/x-javascript text/plain text/xml image/x-icon
</IfModule>

(Note: Backup up your .htaccess )

No comments:

Post a Comment