PHPackages                             fdmind/ignore-query-strings - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. fdmind/ignore-query-strings

ActiveLibrary[Caching](/categories/caching)

fdmind/ignore-query-strings
===========================

If your website has static caching on, and you drive traffic to it from social media, Google Ads and other sources that add query string parameters to the URL, there is a chance that each time new user visits a page, it will not be served from cache, but will be generated from scratch. This is because the URL with query string parameters is treated as a different URL from the one without query string parameters.

v3.0.0(1y ago)54.9k—8.3%3[1 issues](https://github.com/4dmind/ignore-query-strings/issues)MITPHPPHP ^8.0

Since Aug 16Pushed 1y ago2 watchersCompare

[ Source](https://github.com/4dmind/ignore-query-strings)[ Packagist](https://packagist.org/packages/fdmind/ignore-query-strings)[ Docs](https://github.com/4dmind/ignore-query-strings.git)[ RSS](/packages/fdmind-ignore-query-strings/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (3)Dependencies (1)Versions (7)Used By (0)

Ignore Query String Parameters
==============================

[](#ignore-query-string-parameters)

If your website has static caching on, and you drive traffic to it from social media, Google Ads and other sources that add query string parameters to the URL, there is a chance that each time new user visits a page, it will not be served from cache, but will be generated from scratch. This is because the URL with query string parameters is treated as a different URL from the one without query string parameters.

You could always set `'ignore_query_strings' => true`, but that would mean that you would not be able to use query string parameters in your templates.

This addon allows to have both: ignore query string parameters for caching purposes, but still be able to use them in your templates.

> DISCLAIMER: Addon will not work if you have full static caching on and Nginx rules set up to serve static html files directly.

How to Install
--------------

[](#how-to-install)

You can search for this addon in the `Tools > Addons` section of the Statamic control panel and click **install**, or run the following command from your project root:

```
composer require fdmind/ignore-query-strings
```

How to Use
----------

[](#how-to-use)

Addon comes with `ignore-query-strings.php` config file, where you can specify which query string parameters Statamic should allow or deny. By default, it is set to allow only most popular parameters, but you can remove and add your own.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~143 days

Total

5

Last Release

522d ago

Major Versions

v1.0.2 → v2.02023-09-06

v2.0.1 → v3.0.02025-03-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/17e27884915af74b7ffd89e3cfe0c8300d1437cc260b409bf730a27d9bb49e45?d=identicon)[krzemo](/maintainers/krzemo)

---

Top Contributors

[![Krzemo](https://avatars.githubusercontent.com/u/1293123?v=4)](https://github.com/Krzemo "Krzemo (10 commits)")[![mikemartin](https://avatars.githubusercontent.com/u/414211?v=4)](https://github.com/mikemartin "mikemartin (1 commits)")

---

Tags

statamicstatic-caching4dmind

### Embed Badge

![Health badge](/badges/fdmind-ignore-query-strings/health.svg)

```
[![Health](https://phpackages.com/badges/fdmind-ignore-query-strings/health.svg)](https://phpackages.com/packages/fdmind-ignore-query-strings)
```

###  Alternatives

[statamic/statamic

Statamic

832182.1k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

137236.2k8](/packages/statamic-rad-pack-runway)[statamic/seo-pro

71548.3k](/packages/statamic-seo-pro)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[thoughtco/statamic-cache-tracker

1941.0k](/packages/thoughtco-statamic-cache-tracker)[aerni/advanced-seo

Comprehensive SEO addon for Statamic with flexibility in mind

1818.9k](/packages/aerni-advanced-seo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
