Apache Sling Resource alias caching?
We are having the following issue (AEM 6.1):
1) Page A exists with alias: 'playground'
2) We've opened this page through our dispatcher using the alias 'playground' > everything works as expected
3) We remove Page A
4) Create a new Page B with the same alias: 'playground' on the same location Page A was
5) When we open the page (B) through the dispatcher using the alias 'playground' we get a 404 not found.
Why does this happen, is there some sort of alias cache? Can we flush a single record? Are we the only one experiencing this problem?
A solution that we found is to just resart the 'Apache Sling Resource Resolverorg.apache.sling.resourceresolver' bundle but we don't want do that on our production publishers obviously.