Had a massive re-write of my base code today. The most significant change is the reduction in mySQL database queries on the blog page from a maximum possible of 102 to 2! I can’t quite believe my code was this inefficient. WIll be sure to use the power of SQL in future rather than multiple queries with PHP middlework.

Thanks to Ben for his testing of stuff while I made these changes, and also for testing the swear filter (again!).