Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 4

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.

View solution in original post

6 Replies

Avatar

Employee Advisor

Have you checked the dispatcher documentation already?

Configuring Dispatcher

kind regards,

Jörg

Avatar

Level 4

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.

Avatar

Level 2

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.

Avatar

Correct answer by
Level 4

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.