My WordPress site is fairly large. It's being used as a blog and a CMS, with a WooCommerce shop running off it as well. There's probably over 2000 images in the media library at this stage.
My problem is whenever new images need to be added to a post or a product, it's glacially slow.
I have disabled every plugin on the website on a test deployment. The media library is still incredibly slow. I've also checked it isn't loading full size images, it appears to be loading the 300x300 medium images.
Generally the site has acceptable load times for pages and in the admin. They could be quicker, but they aren't more than a second or two for the worst pages.
I think the main issue is whenever the add media button is clicked, the library loads every image ever put on the site. List view is much, much quicker. But this type of view isn't available when adding an image in a post - or when uploading a new product image, it defaults to the thumbnails that show all images.
What can I do to speed up the media library?