I have a website that has hundreds of hi-res images. All added through the cms(so saved in the media folder). Ive uploaded my site this morning to the live server but when i try to visit its just loading and loading. I should mention at this point that the site is 6GB. I presume its just compiling but i have no way of checking this is definitely the case. I was thinking of separating the media folder from the rest of the site then changing all references to it in the database to the new directory. Im a tad worried about doing this because i dont know the architecture of the umbraco DB. Can someone consult me on the best course of action here?
Its using umbraco 4. I can hit the backend fine (only just realised this after you asked). The files/website is on a different server to the database. As for the umbraco.library.GetMedia() i didnt use it personally and i havent seen it anywhere in the code i have worked on. The site has a lot of xslt loops but no more than there was last time it went live. Only difference between this version and the last is more images have been added and the db is now on a different server.
christ your good! turns out i can get onto all the other pages but not onto the root. I can access my homepage through /default.aspx but not through / i presume this is iis.
Massive website is taking forever to compile
I have a website that has hundreds of hi-res images. All added through the cms(so saved in the media folder). Ive uploaded my site this morning to the live server but when i try to visit its just loading and loading. I should mention at this point that the site is 6GB. I presume its just compiling but i have no way of checking this is definitely the case. I was thinking of separating the media folder from the rest of the site then changing all references to it in the database to the new directory. Im a tad worried about doing this because i dont know the architecture of the umbraco DB. Can someone consult me on the best course of action here?
The size of your media section shouldn't have any impact on the build time.
However - depending on your site implementation there could be any number of reasons it is slow.
How did it perform in dev?
Do you make extensive use of umbraco.library.GetMedia() ? This is notorious for performing a lot of SQL queries.
You'll need to list a lot more info here to get a decent answer (including version of Umbraco, O/S, db etc).
Can you hit the backend OK?
are you getting any errors in your application logs?
Its using umbraco 4. I can hit the backend fine (only just realised this after you asked). The files/website is on a different server to the database. As for the umbraco.library.GetMedia() i didnt use it personally and i havent seen it anywhere in the code i have worked on. The site has a lot of xslt loops but no more than there was last time it went live. Only difference between this version and the last is more images have been added and the db is now on a different server.
I'd try hitting some pages that don't contain any media items or complex XSLT.
Create an empty page with a dummy template if need be.
If they work Ok then you'd need to start troubleshooting individual pages.
christ your good! turns out i can get onto all the other pages but not onto the root. I can access my homepage through /default.aspx but not through / i presume this is iis.
Check your default pages on IIS though it is strange that it would just hang rather than respond in some way.
Also, do you have any domains set in Umbraco and do they match the server?
is working on a reply...