Do we have to check here for a first ``/`` and remove it? In the original code this was not done, I think. However I did not test if the cache invalidation still works.