Your client wants to use Engage to render a dynamic recommendation on every page. The recommendation is to be rendered using a pagelet template that will be called by the outer page template using the <render:calltemplate> tag. The segment value of the current visitor will be passed to it. The rest of the page template consists of calls to additional cached pagelets that render the majority of the web page (for example, header, footer, navigation, and body). The total number of segments is 20 and each visitor can belong to only one segment. Which template caching strategy is the best solution from an efficiency point of view?
- A: using an uncached wrapper that calculates the visitor's segment, and then calls a cached page template by using the <render-.satellitepage> tag and passing in c and cid as cache arguments. This template, in turn, calls a cached pagelet by using the <render:calltemplate> tag, specifying style="pagelet" and passing the visitor's segment as cache criteria.
- B: using an uncached wrapper that calculates the visitor'ssegment, and then calls anuncached page template by using the<render:satellitepage>tag and passing incandcidas cache arguments. This template, in turn, calls a cached pagelet by using the<render:calltemplate>tag, specifying style = "pagelet" and passing the visitor's segment as cache criteria. __
- C: using an uncached wrapper that calculates the visitor's segment, and then calls a cached page template by using the<render:satellitepage>tag and passing incandcidas cache arguments. This template, in turn, calls a cached pagelet by using the<render:calltemplate>tag, specifying style = "embedded" and passing the visitor's segment as cache criteria.
- D: having no SiteEntry wrapper and using an uncached page template that calculates the visitor's segment, which then calls a cached pagelet by using the<render:calitemplate>tag, specifying style="pagelet" and passing the visitor's segment as cache criteria
- E: having no SiteEntry wrapper and using an uncached page template that calculates the visitor's segment, which then calls a cached pagelet by using the<render:calltemplate>tag, specifying style="embeddedn and passing the visitor's segment as cache criteria
- F: having no SiteEntry wrapper and using a cached page template that calculates the visitors segment, which then calls a cached pagelet by using the<render:calltemplate>tag, specifying style="embedded" and passing the visitor's segment as cache criteria