web: manage: Resize images in the browser #4
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
To research, the performance of:
libvips
(need to compile for WASM)mozjpeg
(https://squoosh.app/)libwebp
(https://squoosh.app/)libvips
, in GoImage resizing in the browser could reduce the complexity of the backend, at the expense of preventing rare clients from using the site.
Initial tests conclude equivalent performance in mobile browsers.
We can buffer these thumbnails inside IndexedDB as an upload queue, so a page refresh will not require regenerating these thumbnails.
All in a service worker.