Saturday, October 05, 2013

Cloudflare optimizations break javascript

Our web-based audio player seemed to have broken all of a sudden. Strange symptoms - working on Safari, but not on Chrome or IE or Firefox. Checking the source, found some Cloudflare injected code. Tried pausing cloudflare, that solved the issue. Then found that Cloudflare optimizations are known to break javascript, jquery and so on. Turned off optimizations, made the settings CDN only, modified the rules for also to omit the optimizations, then all is well.

The search box on every page of also had broken due to the javascript issues - removing Cloudflare optimizations solved that issue also. 

No comments:

Post a Comment