Simple AJAX view loading approach
Without really knowing a great deal about how your code is structured and basing it purely on your ajax function you could so somethhing like this; 

function loadView(url, beforeSend, callback) {
    $.ajax({
        type: 'GET',
        url: url,
        cache: false,
        beforeSend: function(){
            beforeSend();
        },
        success: function(response){
            callback(response);
        }
    });
}


You could then use it like this

var showPreLoaderModal = function() {
    preloader.modal('show');
}

loadView("view/settings.php", showPreLoaderModal, function(response){
    $('#display-view').html(response)
});


But this is dirty the modern approach would involve promises!