parent page, reftree connection

also cache fix, added lru cache for dispatching