How to install vmod-querystring on Amazon Linux
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 | noarch | x86_64 | Version |
|---|---|---|---|---|---|
| Amazon Linux 2023 | Varnish 6.0 LTS | — | 6.0.18+2.0.2 | ||
| Amazon Linux 2012.03 | Varnish 6.0 LTS | — | — | 6.0.8.2.0 | |
| Amazon Linux 2 | Varnish 6.0 LTS | — | 6.0.18+2.0.2 |
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 Amazon Linux.
Install
vmod-querystring on Amazon Linux 2, 2012.03, 2023
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
Package downloads require an active GetPageSpeed subscription — one repository for vmod-querystring and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install vmod-querystring on Amazon Linux?
Add the GetPageSpeed repository, then install the vmod-querystring package with your system package manager.
Which Amazon Linux versions is vmod-querystring available for?
vmod-querystring is available for Amazon Linux 2, 2012.03, 2023.