restbed icon indicating copy to clipboard operation
restbed copied to clipboard

Resource Caching

Open ben-crowhurst opened this issue 10 years ago • 0 comments

Allow a resource cache to be injected into the service. This cache would be consulted with the incoming request m_cache->find_entry( request ) to determine if we should call the method handler or throw back the cache entry.

Cache cache;

Service service;
service.set_cache( cache );

ben-crowhurst avatar Sep 23 '15 08:09 ben-crowhurst