//! Fragment caching (Rails `<% cache key do %> … <% end %>`).
//!
//! [`cache_fragment`] returns the cached HTML for `key`, computing and storing it
//! only on a miss, against any [`doido_cache::CacheStore`].
use CacheStore;
use Arc;
/// Return the cached fragment for `key`, or compute it with `render`, store it,
/// and return it. `render` runs only on a cache miss.
pub async