added pittpatt gallery caching