View Light

Major Code redesign

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!
Reply
Replies:
Comfortably Anonymous
8/20/2001 11:17:35 AM
Comfortably Anonymous
12/30/2009 12:56:56 PM
This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those who have expressed a prior interest in receiving the included information for research and educational purposes. For more information go to: http://www.law.cornell.edu/uscode/17/107.shtml . If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.