When this snippet is placed on a document then if the page is loaded via http the snippet forces the browser to reload the page over https. The snippet needs to be placed uncached to function properly.