Reply To: page pollution

Your Account / Forums / Easy FancyBox Pro / page pollution / Reply To: page pollution

September 1, 2014 at 9:41 pm #3343

Hi Bart,

The javascript and css you see in the page source (header) is there because that is dynamically generated depending on plugin options and (in the case of IE specific css) file paths. Placing this in the page source is actually faster than feeding it via a separate (dynamic) request.

All the javascript and css that does not need to be dynamic, like the script libraries and main stylesheet, are loaded from static files.

In the next release, the Internet Explorer 6, 7 and 8 specific style rules will not be included by default anymore. These browsers have become (I’m happy to say) uncommon enough and it will take away the bulk of the style rules from your page source.

Hope that helps 🙂