cache gallery and share images
Merge pull request #591 from code-dot-org/cache-images

cache gallery and share images