Forum Moderators: open
However, because I manage a corporate event website, and that involves arguing the toss with our developers; I need to know a few things. The site is built on ASP.NET, and is content managed by us creating html pages with 'PageBuilder' WYSIWYG online (or, in my case, creating the page in DW and copy/paste-ing it into the online editor) which places our content in contentdiv tag.
However, when I viewed our page on my home connection, I noticed that it takes ages to load. Having looked at the source, I also just noticed that my content is very, very small! The code runs to 2347 lines of code and my content takes up a set of Divs near the top maybe 65 lines of code. Is this the same with all .NET sites? There are a few aspects of the site which are more like applications (an online user-customisable calendar and a few searches) but is it necessary for default.aspx to be so huge?
I am assuming that that even page is static in that it is used only for a simple sign up page and the event data does not change, and that the actual text of the event data does not need to be posted back and used. The use of the Cache Object offered in Asp.net, could be used to store the event html on the server if its needed again for later page refreshes, to save it from being put into viewstate. I am going to assume the developers could use this same methodology a lot on the site to reduce the page bloat.
Obviously you also have a lot of other stuff going on if it's a simple page that doesn't seem to display much to the user.
If it's a landing page there's absolutely no reason why it needs to contain any hidden data, unless some sort of javascript app is buried in there, and if so, it ought to be moved to a separate .js file.