Fix for duplicate cache entries by using url as a primary key. Please de...

...lete cache.db to see the effect.