Re:Essential Image Optimization
by muratgozel on Sunday March 24, 2019 @06:17AM
(#19475477)
Would like to add a practice that may be helpful for someone: I store an uploaded image as an array of objects in the DB. Each object contains format (jpeg, webp, etc.), name, size, hash and other pieces of information about the transformed image. Frontend app chooses which one to render according to a browser (use webp in Chrome for example.) and UI element.
[ Parent
| on HN ]
There are no comments on this comment yet.