Given this configuration property:
Which page will be cached on the dispatcher?
Given the dispatcher configuration snippet provided in the image, we can understand the URL patterns that will be ignored (not cached) by the dispatcher. The configuration under /ignoreUrlParams shows patterns to match query parameters in the URLs:
/0001 { /glob '*' /type 'deny' } means that by default, all query parameters are ignored (not cached).
/0002 { /glob 'search' /type 'allow' } specifically allows caching for URLs with the 'search' parameter.
/0003 { /glob 'order' /type 'allow' } specifically allows caching for URLs with the 'order' parameter.
Based on this, let's evaluate the options:
A) /myproduct/myrecipe.html?search=searchparam --- This URL will not be cached because the 'search' parameter is allowed, but the actual value 'searchparam' does not match any allow pattern. B) /myproduct/myrecipe.html?search=s&order=asc&brand=ad --- This URL will not be cached because although 'search' and 'order' parameters are allowed, the 'brand' parameter is not allowed according to the configuration. C. /myproduct/myrecipe.html?brand=mybrand --- This URL will be cached because there are no allowed parameters, so the default deny does not apply, and the page can be cached without considering the 'brand' parameter.
Therefore, the page that will be cached on the dispatcher is the one in option C, as it does not contain any of the explicitly allowed query parameters ('search' or 'order'), and all other parameters are ignored by default.
Blair
8 days agoCordell
15 days agoJody
18 hours agoCory
18 days agoOliva
27 days agoCurtis
19 days agoNida
1 months agoIsadora
16 days agoCandida
20 days agoJeanice
1 months agoEulah
1 months agoJeanice
1 months ago