Reputation: 313
I'm using Wordpress and a developer developed a custom plugin. When I launched my site and more users registered on my site, the slower my site gets.
I was wondering how this happened and after some digging I found out that a page load is requesting about 590 database queries.
Is this normal or way to high?
It is a comparison site with about 70 company's with every company about 20 products, reviews ect.
Thanks
Upvotes: 1
Views: 2364
Reputation: 1413
590 queries per page load is insanely high.
Most likely you have a loop somewhere which is doing a query each time through instead of doing a single query, caching the results, and then handling the cached results.
Also, check out these:
Upvotes: 2