Need a way to pass request parameters to dynamically included component
Hi,
I have a use case , where I want to cache the page at dispatcher but I want to dynamically include a particular component, while being able to access the request parameter present in the URL.
e.g.
www.website-url.com?keyword=test
I want the page to be served from dispatcher cache, but I need to access keyword - test in the component model, so that I can do some processing and return the result.
I am using the dynamic include bundle for getting component dynamically
Without caching the page, I can access using request.getParameter('keyword') in component model, but when I cache the page and load component dynamically (using dynamic-include) , then request parameter is not accessible as dispatcher is not passing it. Any help would be appreciated.