Storing visited state so that the cross-session cache doesn't get out of sync.