Skip to content

Performance: Avoid allocating a string if _publishedContentCache has a cached version in MediaCacheService#22535

Merged
AndyButland merged 2 commits into
umbraco:mainfrom
Henr1k80:avoid-string-allocation-on-cache-hit
Apr 20, 2026
Merged

Performance: Avoid allocating a string if _publishedContentCache has a cached version in MediaCacheService#22535
AndyButland merged 2 commits into
umbraco:mainfrom
Henr1k80:avoid-string-allocation-on-cache-hit

Clarified comment, used GetCacheKey method from location where string…

9cca8d4
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Umbraco CMS 9+ (Integration Tests Integration Tests (SQLite) macOSPart1Of3) succeeded Apr 20, 2026 in 8m 22s

Integration Tests Integration Tests (SQLite) macOSPart1Of3 succeeded