@cache_region('long_term')
def photos_view(request):
    gd_client = gdata.photos.service.PhotosService()
photos = gd_client.GetFeed('...')
return {'photos': photos.entry}
How do I use beaker caching in Pyramid?