delete the old files and change the appcache to be global use

Signed-off-by: scauwjh <scauwjh@gmail.com>