Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Correct answer by
Community Advisor