Some posts I searched suggests the problem resides in ajax handled by jquery. I tested by removing all ajax calls and following what other posts have suggested by using $ajaxSetup({cache:true}) and other methods but none of them works. I also tried remove either the jquery library or my script completely. And the infinite loop of get requests stopped. Some posts I searched suggests the problem resi