Monday, 5 November 2012

Adsense and Disqus comments broken in Blogger - SOLVED

I recently started using Cloudflare to speed up my websites. It caused problems with the Disqus comment plugin and Adsense on my Blogger blog.

The solution was to login to my Cloudflare account and switch the Performance Profile to CDN + Basic Optimizations, rather than Full. This stops Cloudflare from using Rocket Loader, which is a JavaScript optimizations engine.

There is a way to manually stop Rocket Loader from optimizing certain scripts, but I haven't tried this. You simply add the data-cfasync="false" attribute to the script tag.

2 comments:

  1. Yes Its great and want to tell you all something. We are providing adsense accounts since years ago. for more
    contact skype : alonedj2
    Google Adsense approval 2013
    http://www.adsenseapproval.co

    ReplyDelete
  2. Joshua Steph23 May 2013 19:14

    Nice article, thanks for the information.

    @ sewa mobil

    ReplyDelete