When a user searches for a keyword on a webpage, the search keyword Is appended to the URl as a URI parameter This page is not being cached in the dispatcher.
What could be the reason that this page is failing to be cached in the dispatcher?
If a page is not being cached in the Dispatcher when a keyword is appended as a URI parameter, the likely cause is incorrect Dispatcher configuration. By default, Dispatcher may be configured to bypass caching for URLs with query parameters, as these are often associated with dynamic content that changes frequently. To enable caching of these pages, the Dispatcher must be configured to cache requests with specific parameters.
Key Configuration Steps for Dispatcher Caching:
Enable Caching for Query Parameters: Adjust the Dispatcher's cache rules to specify that URLs with certain query parameters should be cached.
Optimize for Search Queries: If the search results page is cacheable, the Dispatcher can be configured to cache it, even with parameters, by allowing query string caching under certain conditions.
Review Caching Rules and Filters: Dispatcher caching is controlled through specific rules in the Dispatcher configuration file, which must be tailored to cache dynamic pages appropriately.
Adobe Experience Manager Reference:
Adobe documentation on Dispatcher caching provides detailed guidance on configuring cache behavior, including handling URLs with query parameters. Properly configuring these settings ensures optimal caching performance and page delivery.