You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JetPack is converting screenshots to WebP, greatly reducing image size but the original pngs should also be compressed. Can we run a script to compress the screenshots?
When I updated the "how to screenshot" wiki I added a note about using something like ImageOptim. Ideally this would be done on upload — but now we have many uploaded images already, so a script to update them would be nice, especially with that much improvement.
The script would also need to update each site though, because once CDN'd, the image would not be re-synced.
No cache invalidations. Currently, static assets are tied to the public version of WordPress, Jetpack, or WooCommerce that you’re using. For images, if you want to “refresh” an image, you will need to change its file name. Adding random query arguments, commonly known as “cache busters,” will not work.
—source
So for every site: get the desktop & mobile image, optimize it, reupload it to the media library, and update the screenshot meta fields with the new attachment ID.
When I look at the site, images are run through Jetpack photon and have reasonable sizes (~500kb instead of 4mb). Did something change, or get updated?
JetPack is converting screenshots to WebP, greatly reducing image size but the original pngs should also be compressed. Can we run a script to compress the screenshots?
Take for example:
Site Link :https://wordpress.org/showcase-v2/opus-one/
Current
Media library
.png
is4mb
.Outputted
.webp
is1.2mb
I compressed that image and was able to cut size by ~60% with negligible visible difference.
Media library
.png
is1.8mb
.Outputted
.webp
is482kb
.Page load improved by ~400ms (on my connection) by making an update to this one image. On single pages, there are 4 of these images.
The text was updated successfully, but these errors were encountered: