edwardspec / mediawiki-aws-s3

Extension:AWS allows MediaWiki to use Amazon S3 (instead of the local directory) to store images.
https://www.mediawiki.org/wiki/Extension:AWS
GNU General Public License v2.0
42 stars 32 forks source link

Always download images? #67

Closed xhlgr closed 1 year ago

xhlgr commented 1 year ago

I found that even if there is no need to generate thumbnails, the original image will be downloaded, which is unnecessary and may be increases page loading time? Or something I set wrong?

In addition, is it possible to adjust the s3 api request after the page html display? Because when loading a page with many images such as Special:ListFiles, it is easy to load timeout (502 or 504 error). But this should be difficult, mediawiki do it during the parsing process.

edwardspec commented 1 year ago

All of this logic is handled in MediaWiki core. This extension doesn't decide this part.