The cache may be deleted at any time; saves and settings kept inside it would go with it. `is_within` compares resolved whole components, so a sibling such as `cache-old` is still accepted, and a cache inside the data folder remains allowed. Ported from uiliannn/VItoriaBr 30d9ba1 (pull requests #38 and #42). (cherry picked from commit 0f52dbd892f2e9af7a84e0edc9bec635ec42dc32)