Fix for duplicate cache entries by using url as a primary key. Please delete cache.db to see the effect.