Wrox Programmer Forums
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 9th, 2009, 06:40 PM
Friend of Wrox
 
Join Date: Sep 2007
Posts: 169
Thanks: 7
Thanked 2 Times in 2 Posts
Default Web site load optimization?

Hi

My site loads a bit too slow for me especially when I try some of my pages on a 56k(through sloppy). During my test it took about 100seconds to load up my main page where the user will be 99% of the time. 11 seconds after it all was cached.

On my connection speed that is like 3mbs it takes like 4-6 seconds(not cached).

My main page is a page that has alot of plugins(jquery plugins) and has 3 tabs(jquery plugin). Each time has stuff that goes on.

so on this page it has to load up about 600kb(according to firebug) of stuff(this is all my plugins,css files, my jquery files etc).

So each plugin has like its own css styles, i have my own styles and my own stuff.

So I heard it is better to merge all the files into one file but of course I don't want to this becasue it makes it a nightmare to debug later on and I don't know how the plugin files will react to this.

I read on one site that you can like maybe like get a program to merge it and that is the one you just upload to the site. So maybe I can do that not sure of a program that can do this.

I have like 11 css files and like 18 javascript files. So I don'tknow if mergeing would make it fast or not.

Now I also found this site that talked about compression and I went and did it and my site does seem faster now. I don't know how to test if the page is compressed(expect for the tool the website shows but the page I am most intrested in is a page that you need to be logged in so this tool won't work). So I need some software tool that I download or some sort of a plugin and not a website that you put in your url and it goes and tests it.

So this seems to work on my pages that don't have ajax requests(just like it said in the article) but my apge that has the ajax requests seems to be just as slow as ever.

I thought maybe since it was jquery that it might have been different. I think I probably can alter it but it says by not having it in there it might throw expection errors.

Here is the webpage: http://www.stardeveloper.com/article...7110401&page=1

I am also not sure does this compress the jquery files since I hear you can gzip those files up to make it faster but I don't know how to do this in .net.

So anyone have any tips.

What I really need is

1. A way to try to see if this compression is faster(and to see if it working) then not doing compression. Since I heard once that gzipping it can make it actually slower but I seem to get conflicting opions.

2. A way to do make the compression. I need a soultion that does not invovle me actually going to the iis/admin rights since I am on a shared hosting site.

3. A way to test what parts are slowing down my site. Right now I am sort of guessing it is all this javascript files since just because there so many of them.

4. A way to merge my files all in one file(for js and one for the css file).

5. How long javascript cacheing lasts.

6. What is the difference between packing my jquery files versus gzipping them? What is better?

I am not also sure if I would leave this compression thing I found and then I found a way to gzip the jquery if those would conflict or make it slower.

Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between web application and web site manojm39 ASP.NET 2.0 Basics 2 August 10th, 2007 09:06 AM
Publish Web Site & Copy Web Site angshujit ASP.NET 2.0 Basics 1 June 15th, 2007 09:21 AM
can a preloader load an html site? dearmisskat Flash (all versions) 5 March 27th, 2007 03:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.