craftcms / aws-s3

Amazon S3 volume type for Craft CMS.
https://plugins.craftcms.com/aws-s3
MIT License
61 stars 28 forks source link

Enormous Loading Times in Craft CMS 4 #139

Closed thomassausen closed 2 years ago

thomassausen commented 2 years ago

Description

If the plugin is activated, I bareley can use Craft CMS 4 anymore. If I click on Entries or other menu items, enormous load times might happen.

Additional info

andris-sevcenko commented 2 years ago

Thanks, I see how this could have been introduced. We'll talk it over and get a fix out soon!

FWIW, it's not this plugin, it's Craft's issue.

thomassausen commented 2 years ago

Ok, thought it might be a problem with this Plugin, because I‘ve got the enormous loading times only if this Plugin is activated. If it‘s active I also can’t see image previews. I Just see the file names.

I made a video about this loading times, just in case.

But You’re working on a fix and that’s great.

andris-sevcenko commented 2 years ago

Right, so. The reason why you're seeing longer loading times is that now CP thumbnails are treated as transforms and, as such, are stored on the Volume, which causes a lot of roundtrips to generate them.

You should switch the Transform Filesystem of the Volume to something local and that should help immensely!