add cache-control header for images