• Resolved metricmedia

    (@metricmedia)


    We are dealing with a slow server, which is giving us wait times of 1.5 sec. and more.

    We notice that when we purge all caches and prime the cache for a select set of pages, when we next test those pages (using Pingdom), on the first test the wait time is longer. On subsequent tests it’s a bit faster.

    Is there additional caching that is generated the first time a page is requested after purging/priming? So that the first request would be slower?

    It looks like the big performance hit is coming every time WordPress bootstraps. So when our page subsequently requests admin-ajax.php, for example, we see similar wait times. Currently we have database caching disabled. Do you think enabling it could improve WordPress’s bootstrapping performance?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @metricmedia

    Thank you for your inquiry and I am happy to assist you with this.
    This is normal behavior with Shared hosting. When the first test is done, it takes some time for the Pingdom in this case to fetch the files. This is the same as for admin-ajax.php requests.
    The performance can only get worse with DB caching on shared hosting. SO you should consider upgrading your hosting plan.
    Thanks!

    Thread Starter metricmedia

    (@metricmedia)

    What do you think about relocating the database to the same server as the site? We’ve seen performance increases on other sites when doing this. This is a VPS account – so yes, shared but not cheap-shared ?? I think the server itself performs reasonably well and I think the issue may be related to the separate database server. Does this sound familiar to you?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @metricmedia

    Possibly, you should try that. No way of telling this and be accurate but that is one of the options.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘After clearing/priming cache, first visit to a page is slower than subsequent’ is closed to new replies.