Ignore URL params| Does it work for a URL pattern as abc.html/1/def
Hello,
We have a URL pattern as below. The strings after the .html in below link are added by client side code - React Routes.
These strings after html are all dynamic and based on user's interaction with the application. There could be a maximum of 5 strings that can be added in the URL based on user's interaction.
..../guide/upfits/vehicle.html/2/abcdef/summary
Requirement is: Since the page vehicle.html does not change with the values of the strings we want the HTML to be cached in dispatcher.
We have the ignoreURLParams in place which is as below.
Observation: No matter what values are passed after .html, the vehicle.html is returning from dispatcher once its cached the first time.
Question: Wanted to confirm that this is happening due to the ignoreURLParams. Since I thought for ignoreURLParams would only work for query strings like this ../vehicle.html?q=abc. Does ignoreURLParams work for any string after.html or how does it exactly work? I searched online but could not find a convincing response.
/ignoreUrlParams
{
/1001 { /glob "*" /type "allow" }
}