HTTP Request Headers (3.0.0)

Overview

WEXAL® Page Speed Technology (hereinafter referred to as "PST") generates optimization strategies by Strategic AI "David" according to the browser environment. The PST plug-in on the web server rewrites the HTTP response content after web server rendering.

By setting the HTTP request header, you can dynamically change the running of PST plug-ins on the web server-side.

x-pst-disable

If this HTTP request header is set, PST will be disabled. The web server will render the original content as the HTTP response with no optimization strategies applied. This is the same setting as specifying "pst=off" in the query string.

Syntax

x-pst-disable: on

x-pst-dump

If this HTTP request header is set, the optimization strategy applied to the specified web page (URL) will be output in YAML format instead of the normal HTTP response. When no optimization strategy is generated for the specified web page (URL), the default optimization strategy will be output.

Syntax

x-pst-dump: on

x-pst-configname

If this HTTP request header is set, the configuration name specified in the value will be applied to the PST configuration file and optimization strategy. When the PST configuration file with the specified configuration name does not exist, PST will be disabled. If no optimization strategy with the specified configuration name is generated, the default optimization strategy will be output. This is the same as specifying a configuration name after "pst=" in the query string. (For example, "pst=stg")

Syntax

x-pst-configname: stg