| 92 | } |
| 93 | |
| 94 | bool is_cacheable(std::string_view key) const noexcept { |
| 95 | return allowed_keys.find(key) != allowed_keys.end(); |
| 96 | } |
| 97 | |
| 98 | bool can_read_cache(std::string_view key) const noexcept { |
| 99 | return is_enabled() && is_cacheable(key) && exists(key); |
no test coverage detected