Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Vanity url not caching with redirect html extension

Avatar

Level 2

Hi All,

 

We are using vanity urls for bulk of pages like below. Could you please help here 

to cache and invalidate the vanity urls. 

/product/data/feature/test1.html

test1 is dynamic

 

I am able to the vanity url data in publish

http://localhost:4503/libs/granite/dispatcher/content/vanityUrls.html

 i have added the below things to dispatcher.

 

farm file:

/vanity_urls { 

/url "/libs/granite/dispatcher/content/vanityUrls.html"

/file "/tmp/vanity_urls"

/delay 300

}

 

filter :

/0100 { /type "allow" /url "/libs/granite/dispatcher/content/vanityUrls.html" }

 

 

Thanks for help.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Level 2

@BrianKasingli 

 

I have done all the changes which are mentioned on the above link. but, no luck.

 

Avatar

Correct answer by
Community Advisor