update deprecated method from sd web image
photos cache expiration.