docs: function ( appRequest, appResponse ) {
      var cacheHtml = null,
          cacheJson = null,
          cacheName = null,
          slugged = slug( appRequest.params[ 0 ].replace( /\//g, "-" ).replace( /-$/g, "" ) ),
          reqSlug = ( slugged === "" ) ? "-homepage" : slugged,
          url = appRequest.params[ 0 ],
          qrs = {};
  
      cacheName = ("page" + reqSlug);
  
      // Querystring?
      for ( var i in appRequest.query ) {
          qrs[ i ] = appRequest.query[ i ];
  
          // Unique cache file name including queries
          if ( i !== "format" && i !== "password" && i !== "nocache" ) {
              cacheName += ("-" + i + "--" + qrs[ i ]);
          }
      }
  
      cacheHtml = sqsCache.get( (cacheName + ".html") );
      cacheJson = sqsCache.get( (cacheName + ".json") );
  
      // 404 JSON?
      if ( cacheJson && !pageNotFoundJson ) {
          setPageNotFoundJson( cacheJson );
      }
  
      // Nocache?
      if ( appRequest.query.nocache !== undefined ) {
          cacheJson = null;
          cacheHtml = null;
  
          sqsCache.remove( (cacheName + ".html") );
          sqsCache.remove( (cacheName + ".json") );
          sqsCache.remove( (cacheName + "-main-content.html") );
      }
  
      // Search?
      if ( slugged === "search" ) {
          if ( cacheHtml ) {
              appResponse.status( 200 ).send( cacheHtml );
  
          } else {
              sqsWare.getHtml( url, qrs, function ( error, data ) {
                  if ( !error ) {
                      appResponse.status( 200 ).send( data.html );
  
                      sqsCache.set( (cacheName + ".html"), data.html );
  
                  } else {
                      // Handle errors
                      nsl.log( "error", ("Error requesting system search page => " + error) );
                  }
              });
          }
  
          return;
      }
  
      // Cache?
      if ( cacheJson && cacheHtml && !rJson.test( appRequest.query.format ) ) {
          sqsTemplate.renderTemplate( qrs, cacheJson, cacheHtml, function ( tpl ) {
              appResponse.status( 200 ).send( tpl );
          });
  
          return;
      }
  
      // JSON?
      // Supports `json` and `json-pretty`
      if ( rJson.test( appRequest.query.format ) ) {
          if ( cacheJson ) {
              cacheJson.nodeServer = true;
  
              appResponse.status( 200 ).json( cacheJson );
  
          } else {
              sqsWare.getJson( url, qrs, function ( error, json ) {
                  if ( !error ) {
                      json.json.nodeServer = true;
  
                      sqsCache.set( (cacheName + ".json"), json.json );
  
                      appResponse.status( 200 ).json( json.json );
  
                  } else {
                      // Handle errors
                      nsl.log( "error", ("Error requesting page json => " + error) );
                  }
              });
          }
  
      // Main-Content
      } else if ( appRequest.query.format === "main-content" ) {
          cacheHtml = sqsCache.get( (cacheName + "-main-content.html") );
  
          if ( cacheHtml ) {
              appResponse.status( 200 ).send( cacheHtml );
  
          } else {
              sqsWare.getHtml( url, qrs, function ( error, data ) {
                  if ( !error ) {
                      appResponse.status( 200 ).send( data.html );
  
                      sqsCache.set( (cacheName + "-main-content.html"), data.html );
  
                  } else {
                      // Handle errors
                      nsl.log( "error", ("Error requesting main-content for page => " + error) );
                  }
              });
          }
  
      // Request page?
      } else {
          sqsWare.getJsonAndHtml( url, qrs, function ( error, data ) {
              if ( !error ) {
                  sqsCache.set( (cacheName + ".json"), data.json.json );
                  sqsCache.set( (cacheName + ".html"), data.html.html );
  
                  // 404 JSON?
                  if ( !pageNotFoundJson ) {
                      setPageNotFoundJson( data.json.json );
                  }
  
                  sqsTemplate.renderTemplate( qrs, data.json.json, sqsCache.get( (cacheName + ".html") ), function ( tpl ) {
                      appResponse.status( 200 ).send( tpl );
                  });
  
              } else {
                  // Handle errors
                  nsl.log( "error", ("Error requesting page => " + error) );
  
                  // Could be a 404 though so serve it
                  if ( data.html.status === 404 || data.json.status === 404 ) {
                      //appResponse.status( 200 ).send( data.html.html );
                      sqsTemplate.renderTemplate( qrs, pageNotFoundJson, data.html.html, function ( tpl ) {
                          appResponse.status( 404 ).send( tpl );
                      });
  
                      nsl.log( "warn", ("Request responded with server code 404 for => `" + url + "`") );
  
                      return;
                  }
              }
          });
      }
  }