xwishmasterx Posted May 22, 2012 Share Posted May 22, 2012 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 Link to comment https://forums.phpfreaks.com/topic/262959-general-question-what-happens-when-adding-a-css-link/ Share on other sites More sharing options...
floridaflatlander Posted May 23, 2012 Share Posted May 23, 2012 ... 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. Link to comment https://forums.phpfreaks.com/topic/262959-general-question-what-happens-when-adding-a-css-link/#findComment-1347871 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.