Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @bd2gtfh

    I hope you’re doing well!

    You can exclude URLs and URLs’ string from Hummingbird > Caching > Page Cacing. Scroll to the Exclusions field and add the URLs strings in there.

    Please see this screenshot:
    https://monosnap.com/file/CE3tl5Au0ks2Oj7vwHArFzAypaJZKH

    Hope this helps!

    Kind regards,
    Nastia

    Thread Starter bd2gtfh

    (@bd2gtfh)

    Hi, thank you for your response, but this isn’t quite the same as what I am asking. Lets say a URL has 5 GET parameters on it such as:

    utm_source=84305&utm_campaign=8492&utm_medium=341&my_param1=xyz&my_param2=abc

    and I want the cache to ignore the utm_* parameters, but consider the my_* parameters such as if the above request was made the following would be Cache Hits:
    utm_source=742984&utm_campaign=8492&utm_medium=341&my_param1=xyz&my_param2=abc
    utm_source=55454&utm_campaign=8492&utm_medium=341&my_param1=xyz&my_param2=abc
    utm_source=545432&utm_campaign=8492&utm_medium=341&my_param1=xyz&my_param2=abc

    And the following would be Cache Misses:
    utm_source=84305&utm_campaign=8492&utm_medium=341&my_param1=3525&my_param2=3234
    utm_source=84305&utm_campaign=8492&utm_medium=341&my_param1=3525yz&my_param2=2535

    See what I am asking? It is exactly what is supported by https://docs.wp-rocket.me/article/971-caching-query-strings.

    How would I configure that using the method you provided? Do I need to handle the different order in which the parameters can be passed?

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @bd2gtfh

    I trust you’re doing well!

    Hummingbird allows excluding query strings. Please go to the Hummingbird > Caching > Page Caching, and under the Exclusion list, you may add utm_source, utm_campaign inside. please see this screenshot:
    https://take.ms/LDROx

    Let us know if you have any further questions!

    Kind regards,
    Nasti

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatically ignore certain query string parameters’ is closed to new replies.