Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::cache::simple::detail Namespace Reference

Functions

std::string surrogate_key_for_cache_key (std::span< const std::uint8_t > key, PurgeOptions::Scope scope)
fastly::cache::simple::CacheError from_core_error (const fastly::cache::core::CacheError &err)

Function Documentation

◆ from_core_error()

fastly::cache::simple::CacheError fastly::cache::simple::detail::from_core_error ( const fastly::cache::core::CacheError & err)

◆ surrogate_key_for_cache_key()

std::string fastly::cache::simple::detail::surrogate_key_for_cache_key ( std::span< const std::uint8_t > key,
PurgeOptions::Scope scope )

Internal function to generate surrogate keys for cache entries. This is used internally by the simple cache API to enable purging.