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 select another > menupoint! > > 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 head like David mentioned in his previous post. > > David: So if i do it like this ^^^ the file is cached and loaded only once ? > > if you file is something like
?php // php code ? html head javascript type="text/javascript" src="jquery.js" /script /head body ?php // inlude files ? /body /html jquery gets cached as long as you stay on that page. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
