Add cache headers for images.