Moderator
t-p
(@t-p)
there could be many possible causes:
-server problem
-too many plugins
-too many and large images
-not enough memory …
The server is dedicated: dual xeon with 2gb ram.
there are 41 plugins enabled, but even with those disabled the frontpage loads slow…
The memory allocated is 128mb.
How can i lower queries number but still have a full frontpage of news from all categories and stuff?
You can try wp-super cache or memcache plugin.
Next thing you can find out slow query log.May be 1-2 queries creating problem.
I use quickcache which is a great plugin… still the first load of the page takes like 130-150 seconds.
I used WP Tuner to debug it and found out that the wordpress loop takes most of it. Can it be that not more than 5-6 wordpress loops on same page can be used?
Thank you.
Moderator
t-p
(@t-p)
The problem is somehow related to the wordpress.com stats helper or stats.
I think they do some changes or something… now i deactivated that plugin and i get Render Time: 1.971 cpu sec (98% load, 4.213 startup). Clock: 2.008 sec (2.2% for queries). DB queries: 255, none defective, none > 0.500 sec. Memory: 4.8MB
I still have 255 queries, which is a lot… but the website loads way much faster than before.
Is there any way i can monitor my website stas/visit except WP-PostViews
which gets the website down?
Thank you
Moderator
t-p
(@t-p)
The problem is somehow related to the wordpress.com stats helper or stats
is your blog on wordpress.com?
Nope… my blog is on dedicated server.
I checked more times and definetely the bad plugin is WordPress COM Stats Helper
I think they have problems with their servers and my website can’t receive the data it needs.
Hello aaurel1an, I think am bit late in replying but hope this helps others.
If you have a custom theme, then the simplest thing you could do to reduce some queries is have absolute paths in the header for loading CSS.
E.G. <?php bloginfo(‘stylesheet_url’); ?> generates a query. You reduce the query by simply putting the proper path there like http://www.wordpress.org/wp-content/themes/custom-theme/style.css
Also try using CSS sprites, as that always helps to reduce load time.