Ability to configure a folder (sub-path) for Azure Blob Storage and AWS S3 caches #351
              
                Unanswered
              
          
                  
                    
                      Piedone
                    
                  
                
                  asked this question in
                Show and tell
              
            Replies: 1 comment 4 replies
-
| 
         I originally considered (in my usage of azure) the root container as the equivalent of a folder. Are there additional costs involved that I missed?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
AzureBlobStorageImageCacheand I believe alsoAWSS3StorageCachestore all cache files in a single container/bucket. This prevents tenant-specific clean-up in a multi-tenant app (i.e. an app that hosts multiple websites), since we can't easily gather which cache file is related to which tenant. So, if you want to clear the cache just for a given tenant, or delete a tenant, including its cache files, then you can't do that without keeping track of ImageSharp's cache files on your own.For
PhysicalFileSystemCache, there's theCacheFolderoption that we utilize in Orchard Core to save cache files into tenant-specific folders. It would be great to have something similar forAzureBlobStorageImageCacheandAWSS3StorageCachetoo.I'm open to contribute this if the ImageSharp team wants the feature.
BTW added a feature request to Orchard Core about adding these features there too: OrchardCMS/OrchardCore#15016.
Beta Was this translation helpful? Give feedback.
All reactions