Forget the DB - according to your first post the SQL part of that 26 seconds was 0.12%, which is about 3/100 ths of a second. This is not your problem. The delay is related to the PHP element. If you have all the changes to showthread documented, take each one out for a while and see if the problem goes away.
Forget the DB - according to your first post the SQL part of that 26 seconds was 0.12%, which is about 3/100 ths of a second. This is not your problem. The delay is related to the PHP element. If you have all the changes to showthread documented, take each one out for a while and see if the problem goes away.
Uploading a fresh showthread.php made no change to the situation whatsoever...still the same number of queries.
Assumption: it could be in functions_showthread.php...
@Colin: I thought as much. Reckon I should try turning caching off? The concept of turning off caching usually goes against 'making pages load faster' tho, doesn't it?