Umbraco.Cloud.Issues
Umbraco.Cloud.Issues copied to clipboard
Official suggested rewrites causes some media files to endlessly redirect
Issue description
Umbraco has some official examples/suggestions for rewrites. Most often used is probably the "Redirect umbraco.io to actual domain" example, that they show on the doc page for rewrites. Adding this, and other examples from this page, causes serveral media files, images, to end up in an endless redirect loop.
I don't have a concrete example to show here, as often, it solves itself after the cache runs out. This results in a website missing images, both on frontend and in backoffice.
Usually, you can fix the missing images on the frontend by deleting the blob storage cache, and restarting the site. But usually, this doesnt fix missing thumbnails in backoffice.
This is a problem on both v8 and v9, and has started to happend after the migration to the new infrastructure.
The proposed solution is to remove said rewrites, which does solve the problem, but it goes without saying, that it is not a useable solution.
From what I have heard, I am not the only one experiencing this, so I am beginning to think, that either the documentation about rewrites is wrong, or the new infrastructure is incompatible with the suggested rewrites in the solution.