File tree Expand file tree Collapse file tree
StabilityMatrix.Avalonia/Controls/VendorLabs/AsyncImage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
1212- Fixed Inference ControlNet Preprocessors using incorrect resolution and increased maximum of smallest dimension to 16384
1313- Fixed Triton/Sage install option showing for incompatible GPUs
1414- Fixed errors from invalid pip specifiers in requirements files
15+ - Fixed package images sometimes showing as blank due to concurrent image caching. Requests to same image resources are now de-duplicated
1516
1617## v2.14.0-pre.1
1718### Added
Original file line number Diff line number Diff line change 22using System . IO ;
33using System . Reflection ;
44using System . Threading ;
5+ using Fusillade ;
56using StabilityMatrix . Avalonia . Controls . VendorLabs . Cache ;
67
78namespace StabilityMatrix . Avalonia . Controls . VendorLabs ;
@@ -20,7 +21,8 @@ public static class BetterAsyncImageCacheProvider
2021 && ! string . IsNullOrEmpty ( assemblyName )
2122 ? Path . Combine ( Path . GetTempPath ( ) , assemblyName , "Cache" )
2223 : Path . Combine ( Path . GetTempPath ( ) , "Cache" ) ,
23- CacheDuration = TimeSpan . FromDays ( 1 )
24+ CacheDuration = TimeSpan . FromDays ( 1 ) ,
25+ HttpMessageHandler = NetCache . UserInitiated
2426 }
2527 ) ,
2628 LazyThreadSafetyMode . ExecutionAndPublication
You can’t perform that action at this time.
0 commit comments