How To Install vmod-querystring on Fedora 36
Introduction
In this tutorial we learn how to install vmod-querystring
on Fedora 36.
What is vmod-querystring
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.
We can use yum
or dnf
to install vmod-querystring
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install vmod-querystring.
Install vmod-querystring on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install vmod-querystring
using dnf
by running the following command:
sudo dnf -y install vmod-querystring
Install vmod-querystring on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install vmod-querystring
using yum
by running the following command:
sudo yum -y install vmod-querystring
How To Uninstall vmod-querystring on Fedora 36
To uninstall only the vmod-querystring
package we can use the following command:
sudo dnf remove vmod-querystring
vmod-querystring Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/a186f152ebddcc7bacedd1f9cc518da325f8e3
/usr/lib64/varnish/vmods/libvmod_querystring.so
/usr/share/doc/vmod-querystring
/usr/share/doc/vmod-querystring/CHANGELOG
/usr/share/doc/vmod-querystring/CONTRIBUTORS
/usr/share/doc/vmod-querystring/LICENSE
/usr/share/licenses/vmod-querystring
/usr/share/licenses/vmod-querystring/LICENSE
/usr/share/man/man3/vmod_querystring.3.gz
References
Summary
In this tutorial we learn how to install vmod-querystring
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).