PHP Page timeout when aborting readfile
问题 I have an simple php view which looks like this: header('Content-Type: image/png'); readfile($this->image); exit(); In this example $this->image is for example /data/pictures/thumbs/x/xyz.png . On an Index HTML I load about 20 products and display their product image with the code above: <img src="views/showimage.php?id=100"/> When I now load the index page with the products, it tooks a short time to load every thumbnail image of the product. If I wait until loading is completed, I can click