Major Code redesign
Posted: 8/20/2001 11:16:52 AM
By: Comfortably Anonymous
Times Read: 2,163
0 Dislikes: 0
Topic: MessageBase Code Development
In order to (1) Speed up the display of the Main page and of the lists of messages under each topic, and (2) allow search engines to index the web site (Most search engines ignore ASP pages for some reason), I've changed them from being completely dynamic, load-everything-from-the-database to a new design, where the main page and the individual topic message lists are 'static' HTML. Now, when you post a new message, not only is your message added to the database, but the main page and the topic message list you just posted in are completely regenerated when you post your message. Adds about a tenth of a second to the time it takes to post a message, but greatly reduces the amount of time it takes to display all the messages under a topic (It was taking nearly 30 seconds to completely display the list of messages under the "Raid on the Forest of Horrors" topic)

To speed things up, I could have just upgraded the database server, but the main reason was to get the topics indexed by search engines, thus (hopefully) more traffic, and more posting! :)

I've tested everything as best I can, and everything seems to work, so I now turn the new code over to everyone else to see if it works as well for you. Let me know if anything is amiss!
Rating: (You must be logged in to vote)
Discussion View:
Replies:

Major Code redesign
Posted: 8/20/2001 11:16:52 AM
By: Comfortably Anonymous
Times Read: 2,163
0 Dislikes: 0
Topic: MessageBase Code Development
You'll also notice that when you post a reply to a message, you are then shown your new message. Previously the system would return to the message you were replying to. Much smoother now.
Rating: (You must be logged in to vote)

Major Code redesign
Posted: 8/20/2001 11:16:52 AM
By: Comfortably Anonymous
Times Read: 2,163
0 Dislikes: 0
Topic: MessageBase Code Development

I forgot this message was even here. This message is completely obsolete - referring to the old MessageBase 2.0 code base.

With MessageBase 3.x, the entire site was converted to ASP.NET and the message store now lives on SQL Server - previously it was using an Access database.

Rating: (You must be logged in to vote)