$request_uri
: The full original request URI. If used with the rewrite feature in conjunction with this option, this variable retains the value of the original URI, not the rewritten one.$scheme
: The protocol used in the request.$uri
: The current normalized URI in the request. The value of this variable may change during request processing. For example, it’ll change during internal redirects or when using index files.$uri
and $request_uri
cache keys simultaneously will result in the cache following the $request_uri
key—query strings won’t be ignored because $request_uri
includes the query string.
$scheme
cache key does not work correctly when the Redirect HTTP to HTTPS option is enabled. All requests will be redirected to HTTPS, with no cache under the $scheme
key.
$uri
cache key overrides the Ignore query string option.
$request_method
and $uri
, prefetching will result in warm-only HEAD requests. GET requests won’t be preloaded into the cache.