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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.