2500

SmartGWT slow images rendering

Question:

I have a SmartGWT 2.0 application where I have to render a few hundred small images and this is taking very, very long (>20s). It's a intranet application. Do you have any idea how I could speed up the rendering? Any idea will be appreciated. Thanks in advance.

Answer1:

You mentioned it's an intranet application but the network or server could still be a culprit. You can use Firebug's "Net" panel to see the network delays from fetching the images. If those are the problem, there's no fix within your SmartGWT Java code.

If rendering speed is the problem, what approach are you using? For this volume of images you probably want to use simple HTML tags inside of a SmartGWT Canvas via Canvas.setContents().

Answer2:

I know the post is old, but if it can help others people.

I would take a look at this :

<blockquote>

An image bundle is a construct used to improve application performance by reducing the number of round trip HTTP requests to the server to fetch images. GWT can package many image files into a single large file to be downloaded from the server and managed as a Java object.

</blockquote>

It's very useful <a href="https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles" rel="nofollow">https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles</a>

Recommend

  • high order bessel function computation with large variables
  • TSQL view select optimization when function is present
  • PlayFramework: poor json deserializing performance
  • Error Firebase Configuration in android studio
  • How to push data to variety of different client types in near real time?
  • Boost Spirit Qi Expectation
  • ASP.NET: how to make onClientClick finish work before postback?
  • urllib2 returns a different page the browser does?
  • jQuery not recognizing Symfony JSON?
  • Unable to add the file iOS application bundle
  • SqlDependency vs SQLCLR call to WebService
  • How to create a jQuery price slider
  • What to do if “git push heroku master” failed?
  • NSOpenPanel's setDirectoryURL doesn't work on Lion
  • Windows Forms switch between Panels
  • getElementsByClassName and AJAX
  • How read between delimiters in php DOM of a XML file?
  • Extjs, handling success or failure when doing a standard submit in a form
  • Heroku push rejected - Hartl's Rails 3.2 tutorial
  • get iframe content as string
  • How to disable all widgets inside Panel or inside Composite?
  • Unable to install Git-core+svn by MacPorts
  • Django simple Captcha “No module named fields” error
  • Could not find rake using whenever rails
  • Update CALayer sublayers immediately
  • How do i call multiple functions using if statements that have multiple parameters in C++
  • Get object from AWS S3 as a stream
  • Resize panoramic image to fixed size
  • Volusion's generic SQL folder, functionality
  • Cross-Platform Protobuf Serialization
  • Validaiting emails with Net.Mail MailAddress
  • Join two tables and save into third-sql
  • How to model a transition system with SPIN
  • ORA-29908: missing primary invocation for ancillary operator
  • Do I've to free mysql result after storing it?
  • How to disable jQuery.jplayer autoplay?
  • How do you join a server to an Active Directory (domain)?
  • coudnt use logback because of log4j
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • Converting MP3 duration time