cache_content_get

cache_content_get(cache: AbstractCache | None, key: str) -> tuple[str | list[dict[str, Any] | str| None...| None
Retrieves cached content from the cache.
Parameters:
NameDescription
cacheThe cache to retrieve the content from.

If None, the cache is ignored.

Type: AbstractCache | None
keyThe key to retrieve the content from.

Type: str