07-27-2003, 12:57 PM | #1 (permalink) |
is a shoggoth
Location: LA
|
Static pages once they are full
Given how the mods point out that the VB script is sort of expensive per cycle I was thinking of a small improvement that could be made. Once a page fills with comments it becomes essentially static, but is still generated every time it is viewed. Because the page is *full* its a fairly expensive view, and its not changing anyway. sending a static page is *much* cheaper than sending a dynamic page so the server would save itself a lot of work by rendering the page to HTML, once, and just handing it out whenever its viewed. The same thing goes for the front-most page, which is probably the most viewed page.
The changes that this enhancement would require are relatively minor, but I think the rewards would be quite tangible. Hell I would be willing to look into it when I get back from vacation, particularly or I'm sure one of the other TFP geeks could do it in two or three days. anyway, just an idea.
__________________
Use the star one and you'll be fighting off the old ones with your bare hands -A Shoggoth on the Roof |
07-27-2003, 04:41 PM | #2 (permalink) |
who?
Location: the phoenix metro
|
the problem with that lies in user preferences... while one person may only want to see 25 posts per page, others have it set for 50-100... so unless you remove the user preference and make it a board-wide standard as to how many posts per page one can see, your idea isn't gonna fly.
__________________
My country is the world, and my religion is to do good. - Thomas Paine |
07-28-2003, 11:23 PM | #3 (permalink) |
Please touch this.
Owner/Admin
Location: Manhattan
|
phred has the right idea
we'd have to generate 30 versions of each page just to keep up with all the different options people have
__________________
You have found this post informative. -The Administrator [Don't Feed The Animals] |
07-30-2003, 10:34 PM | #5 (permalink) |
Please touch this.
Owner/Admin
Location: Manhattan
|
not any more.. no
__________________
You have found this post informative. -The Administrator [Don't Feed The Animals] |
Tags |
full, pages, static |
|
|