android studio clear cache

PHP
php artisan cache:clear
php artisan route:clear
php artisan config:clear 
php artisan view:clear // download this plugin. it reset cache on internal browser
cordova plugin add https://github.com/moderna/cordova-plugin-cache.git

// use this function in index.js or on main html
document.addEventListener('deviceready', onDeviceReady);
function onDeviceReady()
{
    var success = function(status) {
        alert('Message: ' + status);
    }

    var error = function(status) {
        alert('Error: ' + status);
    }

    window.cache.clear( success, error );
}gradlew cleanBuildCachegit rm -r --cached .idea/gradlew cleanBuildCache

Source

Also in PHP: