Bugfix: Compare cache by ids instead of url