This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

window.open method open pop up very slowly

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using window.open to show pop up window, its working fine but it is taking too much time to open the pop up window.Anybody knows the reason for it kindly reply me
 
Marshal
Posts: 67366
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server is slow? The net is slow? Your page takes a long time to load?

Impossible to say without more info.
 
Ranch Hand
Posts: 258
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much time it takes to popup when the application is running on localhost?
If its running fine on localhost then may be due slow server its happening.
 
Ranch Hand
Posts: 3850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Karup Mew:
I am using window.open to show pop up window, its working fine but it is taking too much time to open the pop up window.Anybody knows the reason for it kindly reply me



Try optimizing the process of getting data that you are displaying on that pop-up.
 
Karup Mew
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by vijay jamadade:
How much time it takes to popup when the application is running on localhost?
If its running fine on localhost then may be due slow server its happening.



It takes one minutes in localhost itself
 
Karup Mew
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by ankur rathi:


Try optimizing the process of getting data that you are displaying on that pop-up.


Hi Rathi

I am trying to get data from session object to display in popup.Is this the reason for this problem?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tired to do any profiling and see how long your request is taing on the server? You look at it in a proxy [such as Fiddler] and see how long the request is taking?

Eric
 
Bear Bibeault
Marshal
Posts: 67366
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Karup Mew:
I am trying to get data from session object to display in popup.Is this the reason for this problem?


No. That should be virtually instantaneous. What else are you doing in that request? Does it matter if it's in a popup or not? Does it act differently if its not in a popup? Have you tried using a profiling tool to locate the bottleneck?
 
Karup Mew
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The pop up window opens slowly in Internet Explorer only but in Firefox it opens pop up window fastly.Any specific reason anyone knows about this issue.
 
Bear Bibeault
Marshal
Posts: 67366
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How complicated is the HTML? IE has some known problems with rendering deeply nested tables and the like. But a minute sounds very excessive. Again, have you checked where the bottleneck really is? Is the response getting back to the browser quickly? Or is the hangup on the server?
 
Just the other day, I was thinking ... about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!