Optimize images uploaded from the Static Site Editor
Problem to solve
With the ability to allow arbitrary images to be uploaded from a user's computer comes a likelihood that images are not fully optimized. Extremely large images can impact site performance and increase server costs.
Intended users
User experience goal
Optimization of images should be transparent to the user and run entirely in the background.
Proposal
All images uploaded through the Static Site Editor should be optimized using a standard tool like ImageOptim. Compression should be conservative to limit artifacts and degradation of the image.
Permissions and Security
TBD
Documentation
Availability & Testing
What does success look like, and how can we measure that?
Acceptance criteria
- Images uploaded from the Static Site Editor are optimized with no visible artifacts.
Links / references
Open questions
- Should we be offering an opt in/opt out experience?
Edited by 🤖 GitLab Bot 🤖