public static Set<String> getUnsavedGeocodes(@NonNull final Set<String> geocodes) {
        return withAccessLock(() -> {

            final Set<String> unsavedGeocodes = new HashSet<>();

            for (final String geocode : geocodes) {
                if (!isOffline(geocode, null)) {
                    unsavedGeocodes.add(geocode);
                }
            }
            return unsavedGeocodes;
        });
    }
is cache stored in one of the lists (not only temporary)
main/src/main/java/cgeo/geocaching/storage/DataStore.java