Added my code for application cache