joejac
Posts: 242
|
| Posted: 09/21/2009, 8:29 AM |
|
Hello,
I recreated from scratch one of my web applications in CCS4. Unfortunately when compared with one customer with the old one in CC 2.0.7 it is slow. CC 2 downloads (without the banner) the page in about 4 seconds but CCS4 takes about 16 seconds.
I eliminated an extra include I had, but the problem persist. I suspected about the multilevel menu done with the menu builder, and I eliminated the menu from the Footer.html file so no menu was shown, but it only improved about 2 seconds, 14 seconds to download it is too much.
The only includes I have is Header with a Fash banner as usual and the Footer with the menu and 2 small grids as usual.
Any ideas where the problem can be?
Thanks a lot.
Best regards
joejac
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 09/21/2009, 8:33 AM |
|
Probably the javascript includes and style sheets
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
damian
Posts: 838
|
| Posted: 09/21/2009, 2:35 PM |
|
the js includes and style sheets are loaded separately and should not be reloaded every time you load a page. you can pare the style sheet right down if required.
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 09/22/2009, 6:09 AM |
|
Damian
That is partially wrong.
Function.js is loaded with a php script. Not sure how it's done in other CCS languages.
This method prevents this particular js include from caching and probably causes slow page loading.
Here is a post that discusses that along with possible fixes.
http://forums.yessoftware.com/posts.php?post_id=106606
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 09/22/2009, 6:43 AM |
|
BTW. There are even some cases where CCS includes this JS twice. Possibly adding even more delay in page loading
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 09/22/2009, 7:30 AM |
|
Another thing. If you try to fix this problem with some of those examples, be prepared to battle the CCS IDE since CCS will continually try and re-add it's flavor of loading the js include.
I had always thought it would be nice if this type behavior could be turned off in the IDE since I have many projects where CCS breaks pages by adding it's own stuff without asking.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
joejac
Posts: 242
|
| Posted: 09/22/2009, 1:11 PM |
|
Thanks John and Damian,
But no luck and I am confused with this issue, even in the post mentioned above, John asked Melvyn "if you got this to work???" So what I should do?
Thanks and regards
joejac
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 09/22/2009, 3:21 PM |
|
See if Melvyn will share his results..
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
joejac
Posts: 242
|
| Posted: 10/03/2009, 7:53 AM |
|
Hello,
I submitted this question with my files with the problem (CCS4 projects) and without the problem (CCS3 projects) to support about one week and half ago. They are investigating, I am waiting for the answer and I will let you know.
Best regards
joejac
|
 |
 |