CP performance suggestion
-
G'day Chris, I was reading an article on CP last night and wanted to read all of the follow up comments. This meant hitting your server about 30 times to load the content of each message. Would it be possible or feasible to have an option to display the content of all messages at the end of an article rather than displaying each message one at a time? I don't know how many other CP visitors do this, but if there's a code article that I'm interested in, I nearly always read all of the comments at the end of the article and this means heaps of individual pages for your server to generate. This single humongous page idea might mean a large hit on your server for the single page, but reduce the total outbound traffic for the server compared to multiple page hits. Of course, if this is already available and I just didn't see it, please tell me to RTFM and I'll go away and give myself a clip around the ear. :-) Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.
Oops. I should have posted that to the Suggestions forum. Sorry, Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.
-
G'day Chris, I was reading an article on CP last night and wanted to read all of the follow up comments. This meant hitting your server about 30 times to load the content of each message. Would it be possible or feasible to have an option to display the content of all messages at the end of an article rather than displaying each message one at a time? I don't know how many other CP visitors do this, but if there's a code article that I'm interested in, I nearly always read all of the comments at the end of the article and this means heaps of individual pages for your server to generate. This single humongous page idea might mean a large hit on your server for the single page, but reduce the total outbound traffic for the server compared to multiple page hits. Of course, if this is already available and I just didn't see it, please tell me to RTFM and I'll go away and give myself a clip around the ear. :-) Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.
This will work most of the times, but since the number of messages and their size are only limited by CP's HD capacity and SQL limitations, some pages can be so huge that eventually will timeout and cause load to the server. Not to mention that the user will hit refresh a couple of times before quiting. A very rare situation, but a serious webmonkey should consider them all. An alternative whould be to display the next 10 or 20 messages, which is a bit more complicated. Another alternative whould be to use DHTML and a java-servlet to get parts of the page that you want to update. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234
-
This will work most of the times, but since the number of messages and their size are only limited by CP's HD capacity and SQL limitations, some pages can be so huge that eventually will timeout and cause load to the server. Not to mention that the user will hit refresh a couple of times before quiting. A very rare situation, but a serious webmonkey should consider them all. An alternative whould be to display the next 10 or 20 messages, which is a bit more complicated. Another alternative whould be to use DHTML and a java-servlet to get parts of the page that you want to update. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234
> ...but since the number of messages and their size are only limited > by CP's HD capacity and SQL limitations, some pages can be so huge > that eventually will timeout and cause load to the server. I figured Chris would put some sort of 'rev-limiter' in place to handle these situations. Hey, that's why he gets paid the big bucks, right? :) Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.
-
This will work most of the times, but since the number of messages and their size are only limited by CP's HD capacity and SQL limitations, some pages can be so huge that eventually will timeout and cause load to the server. Not to mention that the user will hit refresh a couple of times before quiting. A very rare situation, but a serious webmonkey should consider them all. An alternative whould be to display the next 10 or 20 messages, which is a bit more complicated. Another alternative whould be to use DHTML and a java-servlet to get parts of the page that you want to update. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234
-
G'day Chris, I was reading an article on CP last night and wanted to read all of the follow up comments. This meant hitting your server about 30 times to load the content of each message. Would it be possible or feasible to have an option to display the content of all messages at the end of an article rather than displaying each message one at a time? I don't know how many other CP visitors do this, but if there's a code article that I'm interested in, I nearly always read all of the comments at the end of the article and this means heaps of individual pages for your server to generate. This single humongous page idea might mean a large hit on your server for the single page, but reduce the total outbound traffic for the server compared to multiple page hits. Of course, if this is already available and I just didn't see it, please tell me to RTFM and I'll go away and give myself a clip around the ear. :-) Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.
What I would like to see is the discussions be expandable DHTML, so you can just click on them and they expand, much like the DHTML menus and such at MS's site). Of course DHTML support is spotty in other browsers, so perhaps we still need the old system as well...
-
Hi chris, Is cp using any Java stuff... i love to hear more on that ... Cheers Wannu know newbie
A little Javascript in some of the pages maybe, but that's it.
-
What I would like to see is the discussions be expandable DHTML, so you can just click on them and they expand, much like the DHTML menus and such at MS's site). Of course DHTML support is spotty in other browsers, so perhaps we still need the old system as well...
-
what do you mean by other browsers .... i thought everyone is using only IE5.5+ ... the dumb browser is gone ... ;P
what do you mean by other browsers .... i thought everyone is using only IE5.5+ ... the dumb browser is gone ... ;P Last month's log files on some ;) sites we serve, gives a 91% to IE. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234