Support delivering local image styles until remote upload is complete

Created on 3 February 2016, almost 9 years ago
Updated 2 May 2023, over 1 year ago

To quote @deviantintegral:

For Drupal 7, we found that the S3 API was very slow for image styles - on the order of several seconds by the time all of the stat and write calls were done. What I ended up doing was initially serving the image style from a local temp file, and then uploading the file to S3 in a shutdown handler. We should investigate something similar here:

https://github.com/justafish/drupal_amazons3/blob/7.x-2.x/amazons3.modul...

Setting 'cache' => TRUE should help for some of this, but image styles are indeed still slow to generate.

The original issue came up in the flysystem_s3 issue queue, #2528630: Support image style generation. β†’ .

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States twistor

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024