add page caching for photos json