How to programmatically empty browser cache?

ForumsHow to programmatically empty browser cache?
Staff asked 3 years ago

Answers (1)

Add Answer
Staff answered 2 years ago
$('.button').click(function() {
    $.ajax({
        url: "",
        context: document.body,
        success: function(s,x){

            $('html[manifest=saveappoffline.appcache]').attr('content', '');
                $(this).html(s);
        }
    }); 
});

 

Subscribe

Select Categories