|
Audio Asylum Thread Printer Get a view of an entire thread on one page |
For Sale Ads |
In Reply to: Removal of debug messages in message lists posted by toledo on March 03, 2002 at 15:31:16:
Actually, in the Classic view, those comments are required. When one posts, depending on where in a thread, some number of html pages are updated to insert this link and to update the number of responses to the post. Those comments are the keys that are used to know where to insert the link and to update the response counter. So yes, they are needed, but could perhaps be appreviated to be shorter to reduce page sizes.
Follow Ups:
The comments are both in the 'Classic' and the 'Threads/Expand' views.Maybe I dont fully understand what you meant.
Cool idea. I thought you were dynamically generating the pages on the fly.Benefits of static html with dynamic data.
So you maintain various static pages for each archive/sort? The Perl script just redirects to the appropriate archive/sort page?
I'll have to file this technique away for future use ;)
Yeah, the obvious advantage or static html is speed and it takes advantage of caching in memory.The thread view is somewhat of a hybrid. An index of threads is sorted, but the actual threads related to a root message are static html which is why the comments exist in those as well. The idea being that it's faster to open a small file and dump it than to sort and generate the sub-threads on the fly.
This post is made possible by the generous support of people like you and our sponsors: