I have set a redirect rule in
EventSubscriber. So according to rule, when I hit [example.com/my-page] in browser, it should redirect to [example.com/success] or some external url also.
But issue is(for anonymous user):
On hitting first time this url "[example.com/my-page]", REDIRECT SUCCESS!! But on second time it does not redirect. It remains "[example.com/my-page]" only.
Now If I logged in, flush all cache, then again log out and check "example.com/my-page", it again works -- REDIRECT SUCCESS!! But again after redirecting first time when accessed the same, it stops redirecting.