Hi,

> i use jQuery on multiple pages of my site so it would be nice to make
> sure that this file is only loaded once and not on every menu change. Is
> there a cross-browser way (for jQuery supported browsers) to cache the
> file and make it load only once ?

Yes: Make it a normal file.

The browser decides on his own which files it should cache and how long. It 
usually takes some information from the server into account and may even try 
a HEAD request to get the last modification-date of the file before deciding 
to reload it.

Christof

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to