Does AEM Clear the Dispatcher Cache of the Vanity Path of a page? | Community
Skip to main content
sambashiva0808
Level 2
Mar 7, 2018 9:20 AM UTC
Solved

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

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.
Rima_Mittal
Rima_MittalAccepted solution
Level 4
Mar 14, 2018 3:37 PM UTC

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
Level 4
Mar 14, 2018 3:37 PM UTC

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.

Translate
sambashiva0808
Level 2
Mar 14, 2018 6:58 AM UTC

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.

Translate
Rima_Mittal
Level 4
Mar 7, 2018 9:09 PM UTC

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.

Translate
joerghoh
Employee
Mar 7, 2018 4:49 PM UTC

Have you checked the dispatcher documentation already?

Configuring Dispatcher

kind regards,

Jörg

Translate
kautuk_sahni
Employee
Mar 7, 2018 2:30 PM UTC

Jörg Hoh​ need your help.

Translate
Kautuk Sahni