What's the Difference Between Excluded URLs and Ignored Parameters?

Excluded URLs and Ignored Parameters work quite differently.

Excluded URLs

Each line in the Excluded URLs field is matched against the page URL and if any line matches, then NitroPack does not serve cache for this page.

Ignored Parameters

Take this URL, for example:
https://example.com/special-offers?search=iphone&sort=price

The names of the URL parameters are "search" and "sort" (note that the "=" sign is not part of the names of the URL parameters).

Each line in the Ignored Parameters section is tested against the names of the URL parameters. If any URL parameter matches the list of ignored parameters, NitroPack treats the request as if it was made to a page without this parameter.

So in the example URL above, if "search" and "sort" are configured as ignored parameters, NitroPack will treat the URL as if it was https://example.com/special-offers.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.