Log in

View Full Version : removing post count for preformance ?


Brandon Sheley
02-07-2008, 05:59 PM
How could I completely remove the post count from the postbit so the showthread pages load a tiny bit faster ?

I know I can just remove it from the postbit template, but do I need to edit something in the showthread.php file ?

thanks
-Brandon

nexialys
02-07-2008, 06:00 PM
actually, this is not needed for perfs... the postcount like a lot of other details are loaded in a "single query", so minimizing that query would be unefficient... displaying the birthday is a process, but not the postcount..

Brandon Sheley
02-07-2008, 06:03 PM
Oh really ? was it maybe an issue in order vb version ? I've seen a few large forums have their post setup like this, but they are running 3.5 or later.

Let me ask this. What would be the best way of slimming up the post bit area so the show thread page would load a little faster ?

Thanks for the help :)

nexialys
02-07-2008, 06:11 PM
my personal opinion on postbits is to drop all the extras... like userfields, birthday, stats, reputation etc... and to make the postbit design in CSS instead of tables is already a gift when you have a ton of details like the default style... the "data" is not a problem in page loads, because simple text is not heavy.. images and tables are adding more elements in the html itself, so this is the detail to avoid.

Princeton
02-07-2008, 06:58 PM
quickie

- DISABLE any custom postbit modifications
- DISABLE infractions, reputation, and age
- switch WYSIWYG quick reply to STANDARD quick reply
- if you have a custom layout (ie, 2 column layout), you may have to optimize your html
- look into any javascript calls within the body

Brandon Sheley
02-08-2008, 03:18 AM
Thank you both of you :)
for now, I've removed most the postbit info to guest. I'm still thinking about removing them completely.. I think it looks a bit cleaner without all the post count, join date info in the post.