You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
We're wondering if the concurrency behavior of #CacheTag is quite right.
Since we store the computed content in a StringBuilder - on cache miss, every thread to reach that block needs to recompute the content. If the content takes a long time to compute, it could mean a lot of extra DB calls or just general processing.
It seems beneficial to have the cache store Task<> so that we can quickly address the 'miss' and have other threads aside from the one computing the data wait on the task.