Fixed bug with stored URLs and cache