Vanity URL is not working as expected
We have thousands of pages in our websites and out of those pages, 1500 pages have vanity URL associated with them.
I created a new page in author and assigned a vanity URL. After that I tried to hit the page with vanity URL as http://<author_host>:<author_port>/<vanity> but it redirected to 404 page. I went to Felix console > Sling Resource Resolver to verify the vanity but the vanity I entered, didn't even show up in resource resolver.
After sometime, 3 minutes and so, I hit the page again in author with vanity URL and it showed up. Also I could see the entry in sling resource resolver.