I currently generate and store thumbnails using PHP's Imagemagick thumbnailImage
when user uploads a picture. Thumbnails are used for 'wall' view, where users can scroll over other users' contents.
I was wondering whether it is reasonable to retrieve thumbnails 'live' (invoking PHP script to generate and send thumbnails over HTTP) instead of retrieving previously generated thumbnails, thus saving disk space (which is currently not a problem, since I have unlimited space -- this could eventually change).
So, is it recommendable to generate thumbnails on the fly rather than generating and storing thumbnails in creation time?
question from:
https://stackoverflow.com/questions/65883321/is-imagemagick-thumbnail-generation-performant-enough-for-live-retrieving 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…