GoDaddy Site Seal takes forever to load

On March 8, 2016, in Browsers, Miscellaneous, by Anuj Gakhar

On one of my sites, I use the GoDaddy Site seal and sometimes, it takes forever to load, causing serious damage to the page load times. It does not matter whether you put the code in the header section of the page or in the footer of the page, it won’t make a difference. It is basically a Javascript file that will stop the page from finishing loading until this file is loaded and that’s entirely dependent on GoDaddy’s server performance at the time. I genuinely think, GoDaddy should use a CDN for this, but that’s not in my control anyway.

I use AngularJS in my project so I ended up putting the script in an iframe and that way, it won’t cause the page to slow down and it can take it’s sweet time to load. The iFrame code looks pretty simple :-

[html]<iframe width="132" height="32" frameborder="0" scrolling="no" ng-src="godaddyseal.html"></iframe>[/html]

And the contents of godaddyseal.html are quite simple too (replace SEAL_ID with your Seal Id) :-

[html]<html>
<body style="margin:0;">
<span id="siteseal">
<script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=SEAL_ID"></script>
</span>
</body>
</html>[/html]

Tagged with:  

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2011 Anuj Gakhar
%d bloggers like this: