Jump to content

General question: What happens when adding a css link?


xwishmasterx

Recommended Posts

Hello

 

A quick question. When adding a link to your css file in the header, does the browser read/load that file even if no styles are being used on the current page? Especially, if you have images in your css file, does the browser load them, although they are not actually displayed on the page?

 

let me know if the question is unclear ;)

... does the browser read/load that file even if no styles are being used on the current page? Especially, if you have images in your css file, does the browser load them, although they are not actually displayed on the page?

A browser will load and read the file even if there is no styles on it and it loads images even if they aren't displayed on your page.

 

Go here http://www.websiteoptimization.com/services/analyze/ and enter and test your url and you'll see that the browser loads files and images even if they are not used.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.