Re: [jQuery] How to cache jQuery

2006-10-26 Thread Andy Matthews
Your browser should cache the file automatically. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Truppe Steven Sent: Thursday, October 26, 2006 9:19 AM To: jQuery Discussion. Subject: [jQuery] How to cache jQuery Hello, i use jQuery on multiple pages

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
That was the answer for my question, thank you ! best regards, Truppe Steven ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
Christof Donat schrieb: > > myconf = { > bgcolor: '', > color: '', > haircolor: '' > } > > > > > Then you can use the global variable myconf in mystuff.js and keep mystuff.js > unchanged. > I have something like this:

Re: [jQuery] How to cache jQuery

2006-10-26 Thread David
Truppe Steven schreef: > I'm new to HTTP protocol but i've seen options for caching. So i thought > i can pass the jquery file with an option for caching to the browser > (from my php file). It's just a generall question because i'm new to > http and i want to be sure not to load it every time i se

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Christof Donat
Hi, > I have one file that do all my sitemanagment, it's a very simple php > that i use like this: index.php?menu=file&lang=de&option=xyz. Inside > index.php i just include the files needed (of course with a test to only > proceed menupoints available). So the jquery.js file is allways loaded > in

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
Su schrieb: > Your browser should be doing this on its own. Do you have actual > evidence it's not happening, or are you just asking? > I'm new to HTTP protocol but i've seen options for caching. So i thought i can pass the jquery file with an option for caching to the browser (from my php file

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Su
Truppe Steven wrote: > 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 ? Your browser should b

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Christof Donat
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 brow

Re: [jQuery] How to cache jQuery

2006-10-26 Thread David Duymelinck
Truppe Steven schreef: > Hello, > > 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 ? > > Ma

[jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
Hello, 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 ? best regards, Truppe Steven _