fdmind/ignore-query-strings
A lightweight Laravel package for ignoring query strings in requests and URL comparisons. Skip or strip parameters like utm_source, page, and filters so caching, routing, and matching stay consistent across URLs that differ only by query string.
utm_*, gclid, and fbclid so paid/social traffic does not fragment the static/full-page cache. The v3.0.0 release adds URI path exclusions and default safe parameters (page, q), making it easier to extend normalization to search and pagination pages while excluding sensitive paths (e.g., admin, checkout, API).page, q) match actual usage. Use path exclusions to avoid normalizing URLs for sensitive areas. Still deprioritize for query-string-sensitive experiences such as filters, locale switching, signed URLs, previews, or personalization unless explicitly validated and configured.glie, cp) must be audited against your application; override them if they do not match your routes or if they could cause cache poisoning or content mismatches. Regex escaping of param keys is a positive security improvement but does not replace a full review.page, q) and default safe paths (glie, cp) reduce initial configuration but must be explicitly reviewed and overridden if they do not match your product’s semantics.page, q), default safe paths (glie, cp), and regex escaping for param keys. Implement an allowlist for marketing parameters, preserve content-affecting parameters, and audit the new defaults against your routes and content model. Add tests for cache behavior and path exclusions, and instrument hit rate and origin traffic before/after. Because the package is tiny and lightly adopted—and this is a major version—review or vendor the code rather than adding it blindly.q, page) as safe by default, which can improve performance on content and search pages. The constraint is that campaign URLs still need analytics capture, and search/pagination normalization must not break parameter-dependent content or attribution—validate before enabling broadly.How can I help you explore Laravel packages today?