How to install vmod-querystring on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
QueryString module for Varnish Cache
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | Varnish 6.0 LTS | 6.0.18+2.0.2 | ||
| RHEL 9 | Varnish 6.0 LTS | 6.0.18+2.0.2 | ||
| RHEL 8 | Varnish 6.0 LTS | 6.0.18+2.0.2 | ||
| RHEL 7 | Base | — | 4.1.11.1.0.6 | |
| Varnish 6.0 LTS | 6.0.18+2.0.2 | |||
| RHEL 6 | Varnish 6.0 LTS | — | 6.0.8.2.0 |
Description
The purpose of this module is to give you a fine-grained control over a URL's query-string in Varnish Cache. It's possible to remove the query-string, clean it, sort its parameters or filter it to only keep a subset of them. This can greatly improve your hit ratio and efficiency with Varnish, because by default two URLs with the same path but different query-strings are also different. This is what the RFCs mandate but probably not what you usually want for your web site or application. A query-string is just a character string starting after a question mark in a URL. But in a web context, it is usually a structured key/values store encoded with the `application/x-www-form-urlencoded' media type. This module deals with this kind of query-strings.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
vmod-querystring on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install vmod-querystring
vmod-querystring on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9, 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install dnf-plugins-core sudo dnf config-manager --enable getpagespeed-extras-varnish60 sudo dnf -y install vmod-querystring
vmod-querystring on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-varnish60 sudo yum -y install vmod-querystring
vmod-querystring on CentOS / RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-varnish60 sudo yum -y install vmod-querystring
Package downloads require an active GetPageSpeed subscription — one repository for vmod-querystring and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install vmod-querystring on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the vmod-querystring package with your system package manager.
Which Enterprise Linux versions is vmod-querystring available for?
vmod-querystring is available for RHEL 6, 7, 8, 9, 10.