faster get url for photos in production
speed up generate url for avatars