Example to read aloud — not a recorded result
“Add a struct called CacheLayer in the cache module that wraps a moka cache. Give it an async get or insert with method that takes a key and an async closure for the value, with a default time to live of five minutes. Put it in front of the orders handler as a read-through cache, and don't change the database query path.”
- · Check "CacheLayer" and "moka"; both are good dictionary entries.
- · Method names with underscores are quicker to fix by hand than to dictate.