Re: [jQuery] loading js files at the bottom of the page

2007-03-26 Thread Matt Stith
Ehh, guess i shouldnt have sounded so confident with that. I acctually dont know if thats true, it just seems like thats what a browser should do. On 3/20/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: On 3/20/07, Matt Stith <[EMAIL PROTECTED]> wrote: > > The browser will cache scripts and css

Re: [jQuery] loading js files at the bottom of the page

2007-03-21 Thread Klaus Hartl
Matt Stith schrieb: > The browser will cache scripts and css included in the header, but not > anywhere else. To verify that this is not true, simply include an external script file in the body and check the response headers for this file for example with the livehttpheaders[1] extension. It r

Re: [jQuery] loading js files at the bottom of the page

2007-03-21 Thread Klaus Hartl
Kush Murod schrieb: > Hi Klaus, > > When you say cached you mean browser caches them for you *OR* do you > need to do something else yourself > > Cheers, > Kush You don't have to do anything, this is up to the browser. Of course you have to be aware of the response headers that are set on the

Re: [jQuery] loading js files at the bottom of the page

2007-03-20 Thread Ⓙⓐⓚⓔ
I always assumed the css was pre-fetched and cached because of the http headers (that are derived from the ) Link: ; /="/"; rel="stylesheet"; type="text/css" is generated by apache when a link is in the head. But I've never served a page with a fake header to prove it. On 3/20/07, Klaus Hartl <[

Re: [jQuery] loading js files at the bottom of the page

2007-03-20 Thread Klaus Hartl
Aaron Heimlich schrieb: > > On 3/20/07, *Matt Stith* <[EMAIL PROTECTED] > > wrote: > > The browser will cache scripts and css included in the header, but > not anywhere else. > > > Really!? Where did you get that from? I'd like to know that as well. How would

Re: [jQuery] loading js files at the bottom of the page

2007-03-20 Thread Aaron Heimlich
On 3/20/07, Matt Stith <[EMAIL PROTECTED]> wrote: The browser will cache scripts and css included in the header, but not anywhere else. Really!? Where did you get that from? -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com ___

Re: [jQuery] loading js files at the bottom of the page

2007-03-20 Thread Matt Stith
The browser will cache scripts and css included in the header, but not anywhere else. On 3/20/07, Kush Murod <[EMAIL PROTECTED]> wrote: Hi Klaus, When you say cached you mean browser caches them for you *OR* do you need to do something else yourself Cheers, Kush Klaus Hartl wrote: Chris Do

Re: [jQuery] loading js files at the bottom of the page

2007-03-20 Thread Kush Murod
Hi Klaus, When you say cached you mean browser caches them for you *OR* do you need to do something else yourself Cheers, Kush Klaus Hartl wrote: Chris Domigan schrieb: Also scripts linked in the head can be cached. - Chris All *external* scripts can be cached, no matter if you i

Re: [jQuery] loading js files at the bottom of the page

2007-03-19 Thread Klaus Hartl
Chris Domigan schrieb: > Also scripts linked in the head can be cached. > > - Chris All *external* scripts can be cached, no matter if you include them in the head or elsewhere. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/

Re: [jQuery] loading js files at the bottom of the page

2007-03-18 Thread Kush Murod
Firebug is the BEST!!! thanks guys Erik Beeson wrote: Try it. Firebug makes it easy to see the order that things are loaded and how long they take. I will say keeping script tags in the head makes the body DOM cleaner, FWIW. --Erik On 3/18/07, *Kush Murod* <[EMAIL PROTECTED]

Re: [jQuery] loading js files at the bottom of the page

2007-03-18 Thread Chris Domigan
Also scripts linked in the head can be cached. - Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] loading js files at the bottom of the page

2007-03-18 Thread Erik Beeson
Try it. Firebug makes it easy to see the order that things are loaded and how long they take. I will say keeping script tags in the head makes the body DOM cleaner, FWIW. --Erik On 3/18/07, Kush Murod <[EMAIL PROTECTED]> wrote: Do you guys think loading js files at the bottom of the page wou

[jQuery] loading js files at the bottom of the page

2007-03-18 Thread Kush Murod
Do you guys think loading js files at the bottom of the page would make the page load faster? -- Kush Murod, Web applications developer Sensory Networks [E] [EMAIL PROTECTED] [W] www.sensorynetworks.com [T] +61 2 8302 2745 [F] +61 2 9475 0316 [A] Level 6, 140 William Street East Sydney 2011 __