You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Media items deleted from the recycle bin are still served on initial requests on Chromium browsers, on Firefox the file is always served unless you use ctrl+F5, and on chrome on android 13 it is served on every request. Note, the file needs to be requested at least once before deletion for the issue to occour, so maybe there's some weird server side caching going on?
Restarting the web app fixes the issue.
Steps to reproduce:
Set up an Umbraco 8.18.5 installation with UmbracoFileSystemProviders.Azure 3.0.1 and deploy to an Azure web app with blob storage setup.
Add a media item with a file
Navigate to the file to ensure it works
Delete the media item and then delete it from the recycle bin
Check the blob storage to ensure that the file has been removed
Attempt to navigate to the file url again
incognito,
using a different browser
using a different device
Observe that the file will still be served on the first request
Restart the web app
Observe that the issue is now fixed
Demo with Umbraco 8.18.5 deployed to an Azure Web App (Windows B1):
I can reproduce this issue on 5 of my client's projects (running Umbraco 8.15.3, 8.15.4, and 8.15.5) and on a clean Umbraco 8.18.5 installation + UmbracoFileSystemProviders.Azure deployed to an Azure web app. But I cannot reproduce it when running locally.
Using the Diplo God Mode package, I tried clearing the Request Cache, Runtime Cache, Isolated Cache and the Partial Cache, but they had no effect on the issue.
Configs used in my demo (connection strings removed):
The text was updated successfully, but these errors were encountered:
OwainJ
changed the title
Deleted files are not properly removed from the Umbraco Memory Cache
Deleted files are not properly removed from cache
Oct 14, 2022
Description
Media items deleted from the recycle bin are still served on initial requests on Chromium browsers, on Firefox the file is always served unless you use ctrl+F5, and on chrome on android 13 it is served on every request. Note, the file needs to be requested at least once before deletion for the issue to occour, so maybe there's some weird server side caching going on?
Restarting the web app fixes the issue.
Steps to reproduce:
Demo with Umbraco 8.18.5 deployed to an Azure Web App (Windows B1):
I can reproduce this issue on 5 of my client's projects (running Umbraco 8.15.3, 8.15.4, and 8.15.5) and on a clean Umbraco 8.18.5 installation + UmbracoFileSystemProviders.Azure deployed to an Azure web app. But I cannot reproduce it when running locally.
Using the Diplo God Mode package, I tried clearing the Request Cache, Runtime Cache, Isolated Cache and the Partial Cache, but they had no effect on the issue.
Configs used in my demo (connection strings removed):
Web.config
Media\Web.config
config\imageprocessor\cache.config
config\imageprocessor\security.config
The text was updated successfully, but these errors were encountered: