Cache loaded urls to avoid loading twice