Wondering if there would be a significant downside (concerning load time) to present all images (mostly CSS background images) with PHP and fread() or something like that.
Will be used mainly for caching and perhaps security (e.g., mywebsite.ca/img/5/header.png instead of mywebsite.ca/img/header.png), so that I can initially tell the user’s browser to cache the image until 2050, and then when header.png is changed, just point to img/6/header.png (which would just be a PHP, like readimage.php?theimage=header.png).
I don’t think it would be, but would implementing this cause any load times to increase for images if I do this?
Danke