Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

K13 @Html.Kentico().PageTitle with macro that depends on query param

$
0
0
Hi,I have a custom macro in Metadata.Title that returns a value depending on an id query param. It works for the first call of the page but any successive calls to that page with different id query params return the result from the first call to the page.I'm not caching the results of my macro anywhere. Using the same macro to set the og:title meta tag works as expected when the ids are changed.Is there any way around this?

Viewing all articles
Browse latest Browse all 8901

Trending Articles