Avoid CORS preflight OPTIONS for better performance

Working with a CDN provider and calling static HTML files from CDN like this.

          $.ajax({
            url : CDNPATH,
            type : "GET",
            contentType : "text/plain; charset=utf-8",
            async : async,
            cache : true,
            processData : false,
            success : function(response, status, xhr) {
                onSuccess(response, status, xhr);
                $(document).trigger('contentReady');
            }
        });

On the homepage of the application, I have 5 static HTML files which fires 5 OPTION calls. As you can imagine, it hurts the performance. I have seen on similar questions that it can be avoided with GET methods and text/plain, which I did as above but it didn’t work.

How can I avoid these preflight OPTIONS methods?


Source: stackoverflow-javascript