faceless105
n00b
- Joined
- Jun 26, 2006
- Messages
- 37
i'm noticing some lag time on my site. i designed the forum myself so it's bound to have problems. switching to a third part forum isn't an option but i wont go into those reasons.
the problem here occurs when people view threads with many replies. i think i'm catching the lag time because the way i have it programmed is... I have it grab the thread then all the replies all at once, add the html then return them. My question is, would it really make that much difference if i changed the code to grab one reply at a time and return them after each individual reply is returned?
It doesn't seem to matter to much on the size of the thread because very long threads with no replies seem to load almost instantly, but if theres a large number of replies it starts to hurt the load time.
i'm open to any ideas or techniques the shave my load times.
the problem here occurs when people view threads with many replies. i think i'm catching the lag time because the way i have it programmed is... I have it grab the thread then all the replies all at once, add the html then return them. My question is, would it really make that much difference if i changed the code to grab one reply at a time and return them after each individual reply is returned?
It doesn't seem to matter to much on the size of the thread because very long threads with no replies seem to load almost instantly, but if theres a large number of replies it starts to hurt the load time.
i'm open to any ideas or techniques the shave my load times.