Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitLab with WP-CLI:
wp plugin install https://gitlab.com/littlewonders/plugins/wordpress-ratelimit-image-upload/-/archive/master/wordpress-ratelimit-image-upload-master.zipOn Packagist as littlewonders/wordpress-ratelimit-image-upload:
composer require littlewonders/wordpress-ratelimit-image-uploadNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Wordpress Gallery Slow Upload
What's this for?
This is a wordpress plugin created to solve a very specific issue with the Gutenberg editor.
If the Wordpress administration interface is behind a reverse proxy such as Cloudflare or AWS Cloudfront, oftentimes there is a request execution time limit that cannot be changed. Usually this is 60 seconds.
When an editor uploads a large amount of large images to a Gutenberg gallery block (common in photography sites), combined with a slow connection this could mean that individual requests go over 60 seconds. For example, 10 requests may be running concurrently each uploading at 100kbps, causing them to take 60 seconds to upload.
With this plugin, image uploads from the Gutenberg editor are queued to run with a maximum concurrency limit. For example, for the following image upload:
| | |
|---------------------------|------------|
| Number of Images | 100 images |
| Image size each | 1mb |
| Internet connection speed | 1mb/s |
The request characteristics look like this:
| | Gutenberg | With Plugin (Concurrency = 5) |
|--------------