• Hi
    Loading time of my website is very high (5.5 seconds). I tried to prevent loading of plugins, but it had not proper effect on loading time. I checked loading time for different lines in wp-settings.php file and I knew do_action( ‘init’ ); makes high loading time. I don’t know why the loading time for a WordPress website with its default files takes 5.5 seconds! I want to speedup my website without any plugin. please guide me.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please provide a link to a page on your site where we can see this. Thanks.

    You should probably install a caching plugin. If ‘init’ takes almost 5 seconds, you are probably running your site on an under-resourced or over-used server. My preference is to use two optimization plugins, autoptimize and comet cache.

    Hi Steven & Mostafa,

    What about using a CDN such as Cloudflare?

    Thread Starter Mostafa Shahiri

    (@mostafadeveloper)

    @sterndata Thanks for your reply. I use my website as a REST server for my mobile app. It has high loading time If you want to load it in a browser. For my app requests I stop loading the plugins (in wp-settings.php file) and theme (in wp-blog-header.php) with a simple condition for checking requested path, so it just load a bare WordPress. As I said, the loading sometimes takes 5.5 seconds or 0.3 seconds! I don’t know why?
    You said,”you are probably running your site on an under-resourced or over-used server”, my website is on a VPS server. How can I check this problem is related to server?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    We really can’t walk you through Linux sysadmin here. Run top, make sure your MySQL server is well tuned (using mysqltuner.pl or something similar), tune php-fpm, etc.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘prevent loading some files to speed up wordpress’ is closed to new replies.