Last post Oct 09, 2008 04:25 AM by darkcat02
Oct 08, 2008 12:01 AM|darkcat02|LINK
im thinking of creating a webapplication.. in which it has a 6 different webapplication... and one of those webapplication... it has a 6 webapplication under it...
i've already created mock pages of those... and i use folders for categorizing which folder the pages belong... coz some of it has the same page name... but different content...
and it loads so slow... is there any suggestions..? help...
Oct 08, 2008 10:38 PMfirstname.lastname@example.org|LINK
Precompile, get enough traffic so the content is cached, redesign and/or recode your apps/site.
Oct 09, 2008 02:52 AM|arnoldmatusz|LINK
I'ld suggest using one one WebApplication if these can work together (if the separation has no other reason than categorizing or anything similar).
If you are using separate webapplications (and there seem to be allot of them) it is clear why they will load so slow.
For example it you host this on a shared hosting provider, each web application should be configured to run in a subdomain. In that case each web application runs in a separate Application Pool. There is a nice feature in IIS, namely the fact that it put
itself into an "IDLE" state after a defined period of time if there is no request to that web application. The reason why this loads so slow is that it takes allot of time to "RESTART" the process.
If this is the case ... the second request to the same application would be served allot faster.
Most of the things (like security) for instance can be configured on a folder level. This is why I suggest using only one web application rather than many.
Oct 09, 2008 03:02 AM|darkcat02|LINK
if i use web application... and inside of it has many folders and subfolders.. and each folder may contain 5-10 aspx pages... will it be slow when compiling/debugging... and when i browse.. will it be slow in loading? is there any good way of preventing
those slow loading?
Oct 09, 2008 03:30 AM|arnoldmatusz|LINK
Not at all. In fact, there is no obvious reason for slowing this except if your code is doing something very very very very unoptimized.
So I think you can go ahead do your job in only one application!
Have fun coding!
Oct 09, 2008 04:25 AM|darkcat02|LINK
but when i tried that one already... i am using a website.. not web application... i created many folders... and subfolders.. and like i said.. it has 5-10 aspx pages... and when i compiled it to debug... building directory was slow... and when i first run/load
the pages.. as i browse through my application.. the loading is slow at first... then after i ran through all pages... everything is in normal speed of loading... any ideas why it happens?