Re: Silent javascript download+queue+iframe

"Ian Petersen" <[email protected]> Tue, 16 May 2006 15:01:20 -0400
Newsgroups gmane.comp.web.dom.wdf
Message-ID <[email protected]>
Hey Mandy,

Why not just add a few "useless" <script src="foo"></script>
throughout your site?

For example, if the login page is light, maybe source two or three
extra Javascript files just to make them fresh in the browser's cache,
same for a page the user is likely to spend a long time visiting.  I
assume the page that is likely to be visited for a longer time is more
complicated than the others.  If this is the case, it's easy to
explain why it takes a little longer to download.

It's not very flashy, but low-tech might be more resilient than high-tech.

Ian

On 5/16/06, Maninder, Singh <[email protected]> wrote:
> Hello Everyone,
>
> Here are my application details:
>
> 1) I have a series of pages and almost all of them have their associated javascript files.
> 2) Some pages require a number of javascript files and hence take more time to download as compared to others.
> 3) I expect the user to spend more time on one particular page and obviously he got to come on the login page (which is pretty light).
>
>
> Here is my problem:
>
> 1) The pages that have a number of javascript files take a lot of time to download and I would like to implement some solution so that I can make use of the page where I expect the user to spend some time by downloading those javascript files in the background (at least a couple of them).
>
> What's the best way to do this?
>
> Should I have a hidden iframe on that page and give a call to those 2-3 javascript files?
> Should I use xmlhttp to give a call to those files?
> Should I implement a queue mechanism?
>
> Does someone have some code on this already?
>
> Please let me know.
>
> Thank you,
> Mandy.
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Unsubscribe
> [email protected]
>
> List info
> http://www.quirksmode.org/dom/list.html
> Yahoo! Groups Links
>
>
>
>
>
>
>


-- 
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/9rHolB/TM
--------------------------------------------------------------------~-> 

Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/