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" /> 

diskcache url api, not managed api. explained in diskcache plugin description.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -