response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache"); response.setDateHeader ("Expires", 0);But that did not work either. So I am just not really sure how to go about fixing this. It appears that there have been a few people who have managed to solve this issue but I have not been able to solve it with their solutions. Any assistance anyone can give me would be greatly appreciated.
Resource interpreted as Script but transferred with MIME type text/plain: "http://curacaogis.com/ArcGIS/rest/services/Ryan/Ryan_Service/FeatureServer/�?�jsonp_dojoIoScript_Primary_Roads11_1_1943285668547_56_20221._jsonpCallback". serverapi.arcgisonline.com/:34The link appears to just be a query, and all the errors that it returned were like that just with different queries. I googled the error and most people were saying that you would need access to the target server to change the content type from text/plain to Javascript. I could have access to the target server but I do not feel like that is the case because the zoom worked fine a while ago. But then I began adding more capabilities to the application and it stopped working.