Image optimization
Uploadcare allows you to optimize images to improve the performance of your website or application without sacrificing its quality.
There are a few steps how to achieve this:
- Scaling images, such as resize and crop, have the biggest effect.
- Further optimization of the image quality of the resulting image, especially for high pixel ratios.
- Delivering the most efficient format that the client’s browser supports.
It’s important to do all three of them to achieve the best results. With Uploadcare, you don’t have to worry about it, we take care about all three of them.
How it works
Every URL transformation generates a modified image version on the fly, while the original file stays intact. The transformed image version will be cached on CDN nodes to optimize delivery.
https://ucarecdn.com/:uuid/-/preview/
The optimal format has already been selected since the scaling operation
is applied (-/preview/
in this example).
If you enable adaptive quality in the Dashboard, your images will be optimized automatically. This function works when applying any URL operations.
You can manually set the required compression parameters.
You can optimize images you already have by fetching and delivering them without explicitly uploading them: