pub fn new(max_size: usize) -> Self {
        Self {
            map: Rc::default(),
            order: Rc::default(),
            max_size,
            keep_list: Rc::default(),
            preloaded: Rc::default(),
            route_preloaded: Rc::default(),
        }
    }
Creates a new, empty page state store with the given maximum size. After
this number of pages have been entered, the oldest ones will have
their states eliminated. Note that individual pages can be
marked for keeping or can be manually removed to circumvent these
mechanisms.
packages/perseus/src/state/state_store.rs