I have 870 queries in 3,216 seconds. Is that normal? What are that queries? How can I reduce that queries? What is number of normal queries.

Custom Page: 870 queries in 3,216 seconds.

Home Page: 866 queries in 2,296 seconds.

  • Where are you getting these numbers from? – Cedon Jun 20 '17 at 21:32
  • with <?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> that – Abuzettin Jun 20 '17 at 21:44
  • Actually there is no 'normal' but it would be (recommended) smart to reduce that number to below 100 (or even less). Most servers will need a lot of cpu power and memory when you have that many request (not even talking about a busy server). You are doing some wrong imho when you think you need to diplay a page/post with such an amount of queries. – Charles Jun 21 '17 at 3:24
  • it is cause of shortcodes. how can I cache them? @Charles – Abuzettin Jun 21 '17 at 4:00

Your Answer

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

Browse other questions tagged or ask your own question.