Adding cache to uploaded files