/**
  * Creates a cache key for the request to use for caching
  * [Kohana_Response] returned by [Request::execute].
  * 
  * This is the default cache key generating logic, but can be overridden
  * by setting [HTTP_Cache::cache_key_callback()].
  *
  * @param   Request     $request    request to create key for
  * @param   callback    $callback   optional callback to use instead of built-in method
  * @return  string
  */
 public function create_cache_key(Request $request, $callback = FALSE)
 {
     if (is_callable($callback)) {
         return call_user_func($callback, $request);
     } else {
         return HTTP_Cache::basic_cache_key_generator($request);
     }
 }