Change to MZ
Saturday September 11th, 1999
I've made a change to MozillaZine's back-end that will be a great benefit if any MySQL problems crop up. In the past, when you visited the front page, I used PHP to dynamically grab the count of responses per article - a task that required connecting to the database. Now, the page is static, and it is regenerated every time someone adds a comment in the forums. This means that I was able to do away with all the dynamic code on the front page, without any sacrifice.
Now, if MySQL problems crop up, they'll affect the subpages which require dynamic content from the database (forums, polls), but the front page will still be reachable.
There may be some bugs that I haven't found yet, so let me know if you find any.
Thanks to Ben Goodger for his advice, which allowed me to accomplish this task in a sensible way.
#2 Here's a test
Saturday September 11th, 1999 8:34 AM
You are replying to this message
Now there should be two. This should also make the front page a bit faster, although I don't think the MySQL queries bogged down the front page loading much, if at all.