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+ (E2E Tests E2E Smoke Tests (SQL Server) WindowsPart1Of3) succeeded Apr 20, 2026 in 20m 6s

E2E Tests E2E Smoke Tests (SQL Server) WindowsPart1Of3 succeeded