LATEST ADDITIONS:



 

When you source a styling sheet or a javascript library, does the web page load everything?

Home > Computers & Internet > Programming & Design > When you source a styling sheet or a javascript library, does the web page load everything?
VinceVince


For example, if I source a jQuery library, is the webpage going to load everything off the library and as a result, actually increase the loading time for my webpage?

Jason
Jason

Yes, unless the user's browser caches the file, which most do by default. (The server from which jQuery is served also has to send the proper response headers so that the client knows the file hasn't changed, but that may not be under your control.)

If you want to see exactly how expensive loading jQuery is, use the FireBug plugin for Firefox. It can show you how much time each file takes to download and display.


Other Questions & Answers

How can I setup a CCTV IP camera and view it as a secure webpage?
I have a standard home router , which NATs private IP's --how can I give the CCTV a static IP and NAT that ?It is a netgear router--tha ... Read more (1 answers)
Can I connect two printers via usb to two different PC's via a USB hub?
Hi FolksThe printers are not network capable (no ether net port) ,I have two PC's in adjoining offices --can I connect both printers to ... Read more (3 answers)
How can i get more followers on twitter?
I only have 24 followers and the people i know dont use twitter. does anyone know how i can get more followers so i dont feel like im talking to mysel ... Read more (4 answers)
Laptop wifi not accepting network key?
Hey we're with sky and have a wireless router. There are two laptops in the house and an xbox 360 which are all wireless. Up until now everything ... Read more (3 answers)
How can i get more followers on twitter?
I only have 24 followers and the people i know dont use twitter. does anyone know how i can get more followers so i dont feel like im talking to myse ... Read more (4 answers)