Adjusted the cache duration and the uid generation for the uploaded objects.