Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jul 2009
    Location
    not
    Posts
    41

    Lightstreamer's IFrames keeps loading richfaces's .js files many times

    Hi everybody.

    i'm using lightstreamer with jsf + richfaces + tomcat...

    the problem is that, with the Iframes the lightstreamer uses, it loads scripts that are being used for richfaces.

    the size of 1 script is 900kB, and they are downloaded 10 times (which will consume too much bandwidth).



    Is there a way so that these pages (lsengine.html and lsform.html) won't load others scripts ?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	foto2.JPG 
Views:	196 
Size:	87.7 KB 
ID:	82   Click image for larger version. 

Name:	foto1.JPG 
Views:	213 
Size:	70.3 KB 
ID:	83  

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi mohamida,

    our pages do not have such inclusions so there is something on the server side modifying our files (e.g.: see the source of http://lightstreamer.com/demo/common.../lsengine.html )

    Moreover such files are not supposed to be modified as something may not work properly if unexpected javascript code is on them.

    So you have to check with richfaces (or whatever is modifying the pages) to see if you can avoid to inject such inclusions in our files.

 

 

Similar Threads

  1. Replies: 1
    Last Post: November 6th, 2008, 08:44 AM
  2. shared library jar files
    By gadder in forum General
    Replies: 1
    Last Post: October 26th, 2007, 10:50 AM
  3. iframes
    By jamesclinton in forum Client APIs
    Replies: 1
    Last Post: March 13th, 2007, 03:21 PM
  4. Opera 8 - 9 --> iframes onload issue
    By Mone in forum Client APIs
    Replies: 0
    Last Post: February 9th, 2007, 01:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:56 PM.