Search code examples
wordpressloading

WordPress Blog Website Loading too Slow


I have installed Latest WordPress on my website with CDN and cache plugin. But, it is loading too slow. It is taking around 2 minutes to load.

I have optimized database and images too. Still the problem is in place.

Please suggest solutions as soon as possible.

Thanks,


Solution

  • You should check your WordPress website not only by images and database. check also with w3c standard. It will show you the loading seconds and errors of code as per w3c standard.

    To refer: Link here

    And you can optimize your images ,database, css and js by using htaccess

    To use mod_deflate, ask your host to install it for you on your Apache server, add these lines to your .htaccess file:

    # BEGINNING of DEFLATE instructions
    AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xmlapplication/xhtml+xml text/css application/javascript
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    Header append Vary User-Agent
    # END of DEFLATE instruction
    

    For optimization kindly click the:Link here