Does AEM Clear the Dispatcher Cache of the Vanity Path of a page? | Community
Skip to main content
sambashiva0808
New Participant
March 7, 2018
Solved

Does AEM Clear the Dispatcher Cache of the Vanity Path of a page?

  • March 7, 2018
  • 6 replies
  • 2995 views

If we configure "/amazon" on any page, let's say "/myapp/home" page and access the home page using the Vanity Path "/amazon", will it cache the "/amazon" in Dispatcher? If yes, then what if we update the "/amazon" vanity path to "/Amazon" and activate the home page, will the AEM clear the Dispatcher Cache of the old "/amazon" page by default or do we need to configure something to make that happen. Please Suggest. Thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rima_Mittal

The cache for the old vanity would not be cleared if new vanity URL is added.

/amazon would still be accessible as a static page in dispatcher even if the new vanity is changed to /Amazon. The /amazon cache would have to be manually invalidated or cleared.

6 replies

Rima_Mittal
Rima_MittalAccepted solution
New Participant
March 14, 2018

The cache for the old vanity would not be cleared if new vanity URL is added.

/amazon would still be accessible as a static page in dispatcher even if the new vanity is changed to /Amazon. The /amazon cache would have to be manually invalidated or cleared.

sambashiva0808
New Participant
March 14, 2018

Hi Rima,

Thank you for that. But what if we add new Vanity URLs for the same page having some Vanity URLs. Does AEM by default clear the cache or else here also we need to have a custom logic.

Thanks you.

Rima_Mittal
New Participant
March 7, 2018

AEM would not clear the cache for the old path when the vanity URL is changed. The has to be invalidated manually or through some logic.

joerghoh
Employee
March 7, 2018

Have you checked the dispatcher documentation already?

Configuring Dispatcher

kind regards,

Jörg

kautuk_sahni
Employee
March 7, 2018

Jörg Hoh​ need your help.

Kautuk Sahni