Exclude a page from Dispatcher caching
Hi,
How to exclude a particular page from getting cached in dispatcher
Kindly provide the syntax for the same
Hi,
How to exclude a particular page from getting cached in dispatcher
Kindly provide the syntax for the same
Hi Akhil,
Welcome to AEM Community !!
I am not sure about the IIS version of the Dispatcher you have configured, but certainly with the Apache module if you add a custom HTTP header "dispatcher: nocache" it will not cache the page in the Dispatcher.
You might need to change the code to add this, which would be something like: request.setHeader("Dispatcher", "nocache");
It might also work as meta tags in the html, but I've not tried this.
Thanks,
Vikram Gaur
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.