InterviewSolution
| 1. |
What Is Caching Tool? |
|
Answer» The PURPOSE of this tool is to provide memory caching of CherryPy generated content. Arguments This tool uses the following arguments: invalid_methods--- ("POST", "PUT", "DELETE")--- Tuples of strings of HTTP methods not to be cached. These methods will also invalidate (delete) any cached COPY of the resource. cache_Class--- MemoryCache--- Class object to be used for caching The purpose of this tool is to provide memory caching of CherryPy generated content. Arguments This tool uses the following arguments: invalid_methods--- ("POST", "PUT", "DELETE")--- Tuples of strings of HTTP methods not to be cached. These methods will also invalidate (delete) any cached copy of the resource. cache_Class--- MemoryCache--- Class object to be used for caching |
|