Implemented in-process caching for `respond`