Reply To: page pollution

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

Anonymous
September 2, 2014 at 1:20 am #3342

Okay. Indeed the IE part is the most offending. It would not be hard for me to get rid of that.

Nevertheless, this code is dynamic only as per the options. Because, it gets included in every page, whether that page makes use of Easy FancyBox or not. And if this code is dynamic in an absolute sense, but rather static as soon as those options are fixed, why not write these codes out to a file that then gets dynamically linked?

Sure, it will be a bit slower. It would probably mean two extra HTTP requests to the server. But that’s only for the first page, after that it’s cached.

I really don’t see the point of including “dynamic” content that is not dynamic at all except in that it changes when the options change.

Well, it didn’t take more than 3 minutes to dump the IE part of Easy FancyBox. It took less than that to dump the IE part of my theme :D.

What do I care, I have a seething hatred for IE users :P.

Seriously, what person ever was the first to think that IE was a good idea? I have not used that program for more than 2 hours over the past 10 years.

But anyway, from the viewpoint of my site, this code is NOT dynamic :). It is identical from page to page. Then, its generation should not happen at page-load, but rather at an earlier point in time. Just my point of view.