• Hello everybody,

    I am new to WP so please excuse if I am asking a RTFM question. Here is the page loading diagram of the site I am working on: Screenshot. I have w3totalcache installed and the site is loaded from CDN, object cache is kept in memcached. However, the initial page loading delay seems to come from WP itself. The server is a quad-core 16 GB AWS EC2 instance with a local MySQL server to decrease network latency. Minify is not enabled, yet, however, it would probably only improve the elements loaded from CDN, but not my key problem, the initial delay.

    Could anybody point to me to a solution for this?

    Thanks a lot,
    Peter

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you tried deactivating your plugins to explore whether any could be responsible? If none are, with all plugins deactivated try switching to the Twenty Fifteen theme to explore whether it’s an issue with your theme.

    Thread Starter peteroruba

    (@peteroruba)

    Thanks for your response, Andrew. I disabled all plugins and also switched to the Twenty Fifteen theme, however, the decrease in the delay was not quite what I hoped for. It dropped by about 30%, but still left it at above 6 seconds. Opcache enabled, caching is done my memcached, minify is enabled as well. I guess there’s not a lot more to try, right?

    The webserver jumps up to 80% of CPU load on one core when a new page is requested. That tells me there is a lot of code execution taking place during those 6 to 8 seconds of delay.

    Thread Starter peteroruba

    (@peteroruba)

    To me it seems the internal “page routing” or URL resolving that is consumes that much time. Loading the page with all its elements is fine. It’s just the determination _which_ page to load based on the requested URL that seems to take so long. Is there any documentation that I could refer to how WP’s internal page routing works?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Improve initial page loading delay’ is closed to new replies.