Closed luissimo closed 3 years ago
On further debugging:
It seems like caching is the issue: the wp-content/uploads image url gets cached by caching plugins/tools and that's why it gets broken. Not sure how or why. When purging all caches or when creating a new staging environment it takes the google cloud storage bucket url again. After a while they might change back to wp-content/uploads again.
WP Rocket causes this. The caching of WP Rocket Is not 100% compatible with this plugin.
Describe the bug The url's in the media library show the correct Google Cloud storage url. But on the website it loads the wp-content/uploads images. This happens sometimes from the start but also with images that had been uploaded months ago and suddenly change to wp-content/uploads.
This breaks some images on the website because they have already been deleted from wp-content/uploads. When you visit the the cloud storage url which is also visible in the media library it works and correctly loads the image. (direct url visit in browser)
This makes the plugin unreliable and gives a lot of extra work.