Simple function caching and memoization with automatic cache key generation and versioning.