protected function getStaticPath($sitePath)
    {
        $parts = parse_url($_SERVER['REQUEST_URI']);
        $query = isset($parts['query']) ? $parts['query'] : '';

        return $sitePath . '/static' . $parts['path'] . '_' . $query . '.html';
    }
protected function getStaticPath($sitePath)
    {
        $parts = parse_url($_SERVER['REQUEST_URI']);
        $query = isset($parts['query']) ? $parts['query'] : '';

        return $sitePath . '/static' . $parts['path'] . '_' . $query . '.html';
    }
protected function getStaticPath ( $ sitePath ) { $ parts = parse_url ( $ _SERVER [ 'REQUEST_URI' ] ) ; $ query = isset ( $ parts [ 'query' ] ) ? $ parts [ 'query' ] : '' ; return $ sitePath . '/static' . $ parts [ 'path' ] . '_' . $ query . '.html' ; }
Get the path to a statically cached page

@param  string $sitePath
@return string
Get the path to a statically cached page