simplification for localStorage / caching the url