Hi, I wonder which is better option for download thumbnails for my items list in Flutter app. For example when I set quality parameter to 10, Will request take longer than without quality parameter? Second option I'm considering is compress image in my app and always download in full quality.
which is better option for download thumbnails for my items list in Flutter app.
In general, I think it's good to use the preview endpoint.
For example when I set quality parameter to 10, Will request take longer than without quality parameter?
There's a tradeoff. changing the quality might take more time to process the file, but the file size could be smaller so network bandwidth could be less. Keep in mind, Appwrite caches files on the server too so the file processing would only be done once.
Second option I'm considering is compress image in my app and always download in full quality.
I prefer processing the file server-side because devices may not have enough resources to process the file without lagging the device.
Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.