From 1c1ff55313d5539078b5e3354671d019696a8c95 Mon Sep 17 00:00:00 2001 From: James South Date: Tue, 24 Jun 2014 17:32:05 +0100 Subject: [PATCH] Double cache size. Former-commit-id: 5874c4c54a8454df44dafe0c7abbd75c4f961127 --- .../NET4/ImageProcessor.Web_NET4.csproj | 97 ++++++++++++++++--- .../NET45/Caching/DiskCache.cs | 2 +- src/TestWebsites/NET4/Web.config | 6 +- 3 files changed, 88 insertions(+), 17 deletions(-) diff --git a/src/ImageProcessor.Web/NET4/ImageProcessor.Web_NET4.csproj b/src/ImageProcessor.Web/NET4/ImageProcessor.Web_NET4.csproj index cad554bb4a..ccda9415f6 100644 --- a/src/ImageProcessor.Web/NET4/ImageProcessor.Web_NET4.csproj +++ b/src/ImageProcessor.Web/NET4/ImageProcessor.Web_NET4.csproj @@ -83,10 +83,21 @@ MemCache.cs - - - - + + ImageCacheSection.cs + + + ImageProcessingSection.cs + + + ImageProcessorConfiguration.cs + + + ImageSecuritySection.cs + + + CommonParameterParserUtility.cs + ImageHelpers.cs @@ -97,6 +108,66 @@ + + Alpha.cs + + + AutoRotate.cs + + + BackgroundColor.cs + + + Brightness.cs + + + Contrast.cs + + + Crop.cs + + + Filter.cs + + + Flip.cs + + + Format.cs + + + GaussianBlur.cs + + + GaussianSharpen.cs + + + IWebGraphicsProcessor.cs + + + Quality.cs + + + Resize.cs + + + Rotate.cs + + + RoundedCorners.cs + + + Saturation.cs + + + Tint.cs + + + Vignette.cs + + + Watermark.cs + @@ -106,15 +177,15 @@ - - Config\Resources\cache.config - - - Config\Resources\processing.config - - - Config\Resources\security.config - + + Configuration\Resources\cache.config + + + Configuration\Resources\processing.config + + + Configuration\Resources\security.config + Designer diff --git a/src/ImageProcessor.Web/NET45/Caching/DiskCache.cs b/src/ImageProcessor.Web/NET45/Caching/DiskCache.cs index f37bf15fbe..f64fad5462 100644 --- a/src/ImageProcessor.Web/NET45/Caching/DiskCache.cs +++ b/src/ImageProcessor.Web/NET45/Caching/DiskCache.cs @@ -45,7 +45,7 @@ namespace ImageProcessor.Web.Caching /// /// /// - private const int MaxFilesCount = 50; + private const int MaxFilesCount = 100; /// /// The absolute path to virtual cache path on the server. diff --git a/src/TestWebsites/NET4/Web.config b/src/TestWebsites/NET4/Web.config index 1417ff9bf0..52384bc51b 100644 --- a/src/TestWebsites/NET4/Web.config +++ b/src/TestWebsites/NET4/Web.config @@ -7,9 +7,9 @@ -
-
-
+
+
+