File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ Once installed the cache @SixLabors.ImageSharp.Web.Caching.Azure.AzureBlobStorag
53
53
{
54
54
options .ConnectionString = {AZURE_CONNECTION_STRING };
55
55
options .ContainerName = {AZURE_CONTAINER_NAME };
56
+
57
+ // Optionally use a cache folder under the container.
58
+ options .CacheFolder = {AZURE_CACHE_FOLDER };
56
59
57
60
// Optionally create the cache container on startup if not already created.
58
61
AzureBlobStorageCache .CreateIfNotExists (options , PublicAccessType .None );
@@ -106,6 +109,9 @@ Once installed the cache @SixLabors.ImageSharp.Web.Caching.AWS.AWSS3StorageCache
106
109
options .AccessKey = {AWS_ACCESS_KEY };
107
110
options .AccessSecret = {AWS_ACCESS_SECRET };
108
111
options .Region = {AWS_REGION };
112
+
113
+ // Optionally use a cache folder under the bucket.
114
+ options .CacheFolder = {AWS_CACHE_FOLDER };
109
115
110
116
// Optionally create the cache bucket on startup if not already created.
111
117
AWSS3StorageCache .CreateIfNotExists (options , S3CannedACL .Private );
You can’t perform that action at this time.
0 commit comments