Linux 软件免费装
Banner图

S3 Image Optimizer

开发者 nosilver4u
更新时间 2024年8月16日 02:06
PHP版本: 8.1 及以上
WordPress版本: 6.6
版权: GPLv3

标签

image s3 optimize wp-cli compression

下载

2.4.1 2.4.3 2.6.1 2.4.0 2.5.0 2.4.2 2.5.1 2.6.0

详情介绍:

The S3 Image Optimizer will optimize all your images in 1-1,000+ Amazon S3 buckets using the EWWW Image Optimizer. Since EWWW IO integrates directly with plugins like WP Offload Media, S3 IO is generally for folks who use a solution other than WP Offload Media to put their images on S3. But, if you have 20 sites sharing an S3 bucket, or have lots of buckets, and you would want to optimize them all from one place instead of 20 different sites, this is the plugin for you. S3 IO features a web-based bulk optimization process, and a WP-CLI interface for massive buckets. S3 IO works with any S3-compatible storage service including Linode, Backblaze B2 and Digital Ocean Spaces. You may report security issues through our Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. Report a security vulnerability.

安装:

First, it is worth noting that S3 IO is "site agnostic". For example, if you have images for http://www.example.com in your S3 bucket, you do NOT have to run S3 IO on the WordPress install for example.com. You could install it at test.com, or myfuzzybunnies.com, or any site you manage. In fact, you may even create a dedicated WordPress install just for running S3 Image Optimizer, with no other plugins needed except EWWW IO and S3 IO. Setup Now that we have that cleared up, let's get down to business. You need 2 plugins to make this work: S3 Image Optimizer, and the EWWW Image Optimizer. Then... View the full list of region names. Usage

常见问题:

What happens if I have so many images that the S3 Bulk Optimizer keeps timing out?

If you have configured S3 IO to optimize all your buckets, try a single bucket to see if that will work. If that still doesn't work, use the S3_IMAGE_OPTIMIZER_FOLDER setting above to restrict optimization to a specific folder. This way you can optimize a single bucket by configuring each folder within the bucket, running the S3 Bulk Optimizer, and then moving to the next folder. If the last option has you groaning, see if your web host supports WP-CLI. Using WP-CLI allows you to avoid any timeouts, and solves a whole host of issues with long-running processes. The wp-cli help s3io optimize command should get you going. If you've tried everything, and WP-CLI isn't an option with your web host, find a web host that DOES support WP-CLI. It's pretty easy to find a cheap host that supports WP-CLI, like GoDaddy. While I wouldn't recommend GoDaddy for hosting, if you want a cheap solution to run WP-CLI, it works. Remember that S3 IO is site agnostic, so you can run it from a site completely separate from the site(s) that your S3 images belong to. You could also fire up a Digital Ocean droplet with WordPress pre-installed for $5 and put WP-CLI on there. When you're done, you can make a backup image of the droplet and destroy it so that you aren't paying for usage all the time.

What about X, or Y, or maybe even Z?

Most problems we've seen are either permissions-related, or covered by the timeout stuff above. If you have a question, shoot us an email!

更新日志:

2.6.1 2.6.0 2.5.1 2.5.0 2.4.3 2.4.2 2.4.1 2.4.0 2.3 2.2 2.1 2.0