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

You are currently viewing the ASP.NET 2.0 Professional 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 August 8th, 2007, 12:43 PM
Registered User
 
Join Date: Aug 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Slow page Loading

I just complete a project in asp.net 2.0 with ajax.I checked it for all possible errors.After uploading to live server we are experiencing a problem of slow page loading.Plz help us.
 
Old August 8th, 2007, 01:06 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there.. besides you are loading a lot of data (maybe the database is slow??) you are loading also a flash.. can I ask how are you adding it to the page?? I found out that some ways of writting the flash component make the page really slow..


HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old August 8th, 2007, 06:38 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hmm interesting problem. As Gonzalo said, I would first inspect your database queries and everything else that happens within your Page_Load(). Also, your flash movie, add a loader to it so that at least the first X frames will load while the rest of the movie downloads (this is a rudimentary task for a flash designer)

Also, it may not be your queries per say, you might have a latency issue between your webserver and database server which can also result in poor preformance of your website. All of this is, of course, hypothectical since there are many things that can contribute to a slow page load.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========
 
Old August 8th, 2007, 07:33 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Here's another option to analyze performance from the client perspective (maybe it's not the server or app):

YSlow for FireBug: "YSlow analyzes web pages and tells you why they're slow based on the rules for high performance web sites."

http://developer.yahoo.com/yslow/

-Peter
 
Old August 11th, 2007, 01:48 AM
Registered User
 
Join Date: Aug 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for all replies, i saw all links and suggestions and further optimize the code but still slow.

1) http://developer.yahoo.com/yslow/, yslow not working with firefox on my computers.

2) No coding error in flash

Try to analyze more.

Thanks
Rahul

 
Old August 13th, 2007, 07:12 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

mmm.. how are you writting the flash objects?? are you using the same code for every navigator?? did you consider using a third party control for that?? try this http://steveorr.net/articles/Flasher.aspx sometimes it makes the page load faster...

but did you check all the query stuff??

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Page is Loading too Slow kornshell Classic ASP Basics 7 October 16th, 2008 09:28 AM
Slow-loading form(s) dhl84 Access VBA 1 January 11th, 2007 01:16 PM
.net page loading is slow angshujit .NET Framework 1.x 1 December 26th, 2006 07:53 AM
Loading too slow chiholi Crystal Reports 0 November 16th, 2004 02:52 AM
Slow loading ASP or SSIs hcweb Classic ASP Basics 7 October 8th, 2004 04:04 PM





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