Use a simple dictionary to cache urls