Query Strings (3.0.0)

Overview

WEXAL® Page Speed Technology (hereafter referred to as "PST") allows you to control PST functions from your browser by sending query strings to web pages (URL).

pst

The “pst” query string temporarily changes the PST configuration file and optimization strategy to be applied. You can check the web page with the PST configuration file and optimization strategy specified in the value.

Example

https://www.wexal.jp/?pst=stg

Value

onApply production PST configuration file and optimization strategies.
offTurn off PST to check the original web pages. This is the same as specifying "x-pst-disable: on" in the HTTP request header.
configuration nameApply the PST configuration file and optimization strategy specified by configuration name. For example, if "?pst=test", then "pst.test.config.yaml" will be applied. This is the same as specifying "x-pst-configname: configuration name" in the HTTP request header.

wexal

The “wexal” query string executes the PST command specified in the value against the specified web page (URL). Only authorized PST commands can be executed.

Example

https://www.wexal.jp/wp-content/uploads/2020/02/test.png?wexal=purge

Value

purgeBy sending this query string to the web page (URL) of a specific resource, the resource and the optimized resource file will be removed. The target resources are the only image resources acquired by the proxy directive, the image, script, and style sheet resources are in the reverse proxy.