fixed cache bug provoked by beginning slash in certain urls