• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Getting slowness in GWT page in Internet explorer without clearing cache

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting slowness in GWT page in Internet explorer without clearing cache. Please find the below scenarios.

1) For the first time (Without any cache in browser), when I open my gwt application in Internet explorer (Using IE 8). It was quicker and the page loads and opens quickly.
2) Now I closed my browser without clearing cache. When I open my gwt application in Internet explorer (Using IE 8) now, the page loads very slowly and it’s nearly taking more than one minute to load the page. (When checked in fiddler application, the time taken to load nocache.js and cache.html is taking very long time)
3) Now when I open my application in same tab of IE 8 (without closing browser), the application is very quick.
4) But when I open my application in different tab of IE 8 (without closing browser), the application is very slow same as 2nd scenario.

After analysis I come to know that whenever I am not clearing cache, its looking for modified js and html and so the time taken is high. But after clearing cache, both nocache.js and cache.html gets downloaded from server and its quick.
Note: Its occurring only in IE and not in chrome and firefox.
Can someone provide some solution to fix this issue.
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Nagarajan Palanichamy wrote:
Note: Its occurring only in IE and not in chrome and firefox.
Can someone provide some solution to fix this issue.


Well the simplest solution would be to ditch IE

On a more serious note, you might want to explore if IE provides some cache related settings or anything else, which might help resolve this issue.

I will also add this question to the HTML/JS forum for you. Experts there might be able to offer some better solution.

 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Out of curiosity, how big is your nocache.js file?
In case you are not aware, do check out code splitting http://www.gwtproject.org/doc/latest/DevGuideCodeSplitting.html
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!