Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ISR: Ignore query params #1720

Closed
Closed
@arsenasatryan

Description

@arsenasatryan

Problem Solved By The Feature

Sometimes it is required to use the same cached version even URL is not the same for particular 2 requests. for example, Google Search Ads adds a query parameter to the URL which is different for each request but the content of the page is the same

Solution

As a solution, it is possible to add a boolean that says to ignore query parameters for a route. additionally, there can be an array of query param names that can specified not to be ignored in case of query param based pagination for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions