Forums

WordPress Frontpage and category slow loading (10 posts)

  1. aaurel1an
    Member
    Posted 1 year ago #

    Hello there,

    I have wordpress with 45k posts and database over 150mbytes.

    I want to know why would the frontpage and the category listing load so slow... Should they take longer than a 4-5 seconds?

    It takes me like 2 minutes to load frontpage... I know it has a lot of queries... like over 250 queries, but that's because i have to post multiple categories on frontpage... it's a newspaper website... and you know newspapers... a lot of news on the frontpage.

    I tried the twenty-ten team and speed increased a lot. I tried my theme without any plugins, same problems.

    Please advise

  2. t-p
    Member
    Posted 1 year ago #

    there could be many possible causes:

    -server problem
    -too many plugins
    -too many and large images
    -not enough memory ...

  3. aaurel1an
    Member
    Posted 1 year ago #

    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?

  4. Kapil Chugh
    Member
    Posted 1 year ago #

    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.

  5. aaurel1an
    Member
    Posted 1 year ago #

    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.

  6. t-p
    Member
    Posted 1 year ago #

  7. aaurel1an
    Member
    Posted 1 year ago #

    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

  8. t-p
    Member
    Posted 1 year ago #

    The problem is somehow related to the wordpress.com stats helper or stats

    is your blog on wordpress.com?

  9. aaurel1an
    Member
    Posted 1 year ago #

    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.

  10. Harish Chouhan
    Member
    Posted 9 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic