Mike Little’s Journalized

Mike Little’s not-quite-so-daily thoughts, babblings, and random synapse firings!

A collection of random thoughts and links. Nothing too exciting. ;-) -- Mike Little

[powered by WordPress.]

Wednesday, 24 September 2003

Speed Up 

by @ 01:07. Filed under

With any luck, I have just managed to speed up the time it takes to generate my blog page. It should now be almost three times faster than before. I managed to narrow it down to the ‘posts_nav_link()’ function which gave the ‘older posts’/'newer posts’ links at the top and bottom of the page. These were taking as long to execute as the main blog loop (in fact they run almost the same database query). So for now they have been removed, which means you must use the archives, calendar, or categories links to navigate to the older posts.

The URI to TrackBack this entry is: http://zed1.com/journalized/archives/2003/09/24/speed-up/trackback/

5 Responses to “Speed Up”

  1. alex Says:

    I’m using the ‘posts paged’ option with the previous_posts_link() and next_posts_link() and I don’t notice any performance hit.

  2. kim Says:

    It’s much faster…don’t have time to
    make a brew anymore ;-)

  3. Steve Says:

    loaded in 1.936 seconds!!!
    wow have you been feeding it weetabix? :lol:

  4. Matt Says:

    The difference is very noticable.

  5. Mark Says:

    Kinda related to your stuff…

    I found my SiteMaker pages were taking up to 12 seconds to generate. I eventually got this down to around 2 seconds by adding a bunch of indexes to the related tables. Mind you, my SQL bits were doing 4-5 table joins :-)

    I’ve not had time to look into speeding up WordPress pages by adding indexes. Its fast enough for me at the moment.

Leave a Reply

Please note: Comment moderation is currently enabled so there will be a delay between when you post your comment and when it shows up. Patience is a virtue; there’s no need to re-submit your comment.

[powered by WordPress.]

counter: 12632101

jour·nal n. A personal record of occurrences, experiences, and reflections kept on a regular basis; a diary.

Protect Your Vote - special e-voting season starts 6th February 2007

internal links:

gallery image:

A random gallery image, (click to expand)
Zooming round the obstacle course
Zooming round the obstacle course
From album: Saturday 19th October 2002
'

tip box:

categories:

search blog:

 

archives:

reading:

hearing:

seeing:

nothing...

ratings, codes, rings

other:

95. We are waking up and linking to each other. We are watching. But we are not waiting.
The Cluetrain Manifesto

Make Poverty History 2005

family links:

latest comments:

sponsored links:

I read:

bloggy links

worthwhile causes:

respect to:

favourite places:

Visitors:

47 queries. 0.466 seconds