Vanity url not caching with redirect html extension | Community
Skip to main content
New Participant
September 28, 2022
Solved

Vanity url not caching with redirect html extension

  • September 28, 2022
  • 2 replies
  • 817 views

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.

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

2 replies

SantoshSai
SantoshSaiAccepted solution
New Participant
September 28, 2022
BrianKasingli
New Participant
September 28, 2022
Naresh536Author
New Participant
September 28, 2022

@briankasingli 

 

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