I've been monitoring the speed of my site load on Drupal 7 and I would like to increase its initial loading speed. Currently it takes 6 seconds just to get data from the server. What is the first page called? In total it takes about 10 seconds for my site to load.

What methods are there to reducing this initial startup load time? I've tried boost, but I can't use it as it renders all my webforms useless. I've already used the lazyloader module for images and enabled gzip aswell.

enter image description here

  • have you tried any caching methods?
    – oksana-c
    May 20 '16 at 17:56
  • I'm able to reduce alot of the images and video content to load via ajax after the page loads fully. But I'm not sure how to further improve the initial page load when the browser first fetches the page. I'm not sure why it takes 6 seconds for the server to spit out the page. How do I even debug something like that? Which logs should I be looking? Is it due to sql queries being run on the back end ? May 20 '16 at 18:05
  • This is your time to first byte (TTFB), the page has not even requested the css, javascript and images yet. You need to look into server solutions to cache SQL and / or compiled PHP. Have a look at memcached and compile PHP with Opcache (opcode cache) enabled. May 20 '16 at 21:11

There isn't much you can do with the browser debugging tools in this case. You need to debug this on the server:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.