Add support for chached images on server side