bd2gtfh
Forum Replies Created
-
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=abcAnd 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=2535See 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?