c# - Imageresizer diskcache plugin not working -
i have .aspx page uses imageresizer library resize image , save local storage , it's location written response.
imagejob image = new imagejob(masterpath, targetpath, new resizesettings("width=" + imagesize)); image.createparentdirectory = true; image.build(); the diskcache plugin set delete images local storage nothing happening images. ideas?
<diskcache dir="c$\testupload\test" autoclean="false" hashmodifieddate="true" enabled="true" subfolders="32" cacheaccesstimeout="15000" asyncwrites="false" asyncbuffersize="10485760" /> <cleanupstrategy startupdelay="00:05" mindelay="00:00:20" maxdelay="00:05" optimalworksegmentlength="00:00:04" targetitemsperfolder="400" maximumitemsperfolder="1000" avoidremovalifcreatedwithin="00:00:10" avoidremovalifusedwithin="0.00:00:10" prohibitremovalifusedwithin="00:00:05" prohibitremovalifcreatedwithin="00:00:05" />
Comments
Post a Comment