added appCache handler