Added limited caching to the photo uploads